Disabled field group containers are still in the render array (content)

Created on 21 July 2025, 9 days ago

Problem/Motivation

In "default" view mode, we have various tab field groups, whereas in further view modes, such as "card", we only use single fields.

However, the parent field groups of the individual fields are also printed as separate items because they are in the render array.

Default view mode:

Card view mode:

Render array card view mode:

Steps to reproduce

1. Create tabs field groups in the default view mode
2. Create another view mode such as 'card'
3. In the card view mode move all field groups into "disabled"
4. Move single fields out of their disabled field groups, to the 'enabled' section

Proposed resolution

Don't add empty/disabled field groups to the render array.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.0

Component

Miscellaneous

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024