Form details always showing as required

Created on 17 June 2025, 19 days ago

Problem/Motivation

Regardless of whether the field group contains required fields or if the "Mark group as required if it contains required fields" option is enabled, the group is always displayed as required with an asterisk.

Steps to reproduce

  • In a content type
    • In manage fields, create a field, not required
    • In Manage form display, create a new field group and set "Mark group as required if it contains required fields" is not enabled

Proposed resolution

Wrap the in a condition in gin/templates/form/details.html.twig

🐛 Bug report
Status

Downport

Version

4.0

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024