Skip to content

[6.x] Fix duplicate labels on Bard, Replicator & Group fields in Grid tables - #15750

Merged
duncanmcclean merged 1 commit into
6.xfrom
grid-container-field-labels
Oct 29, 2026
Merged

duncanmcclean merged 1 commit into
6.xfrom
grid-container-field-labels

Conversation

@duncanmcclean

@duncanmcclean duncanmcclean commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

This pull request fixes an issue where Bard, Replicator and Group fields inside a Grid (in table mode) would show their label twice: once in the table header, and again inside the cell.

This was happening because the CSS rule added in #14987 (to show the labels of fields inside these fieldtypes) targets .bard-fieldtype, .replicator-fieldtype and .group-fieldtype. The cell's own field has the same class, so the rule was also showing the cell's own label & instructions.

This PR fixes it by only targeting the labels of fields nested inside the container fieldtype.

Before

before

After

after

Fixes #15749
Caused by #14987

@duncanmcclean
duncanmcclean merged commit a7237e7 into 6.x Oct 29, 2026
66 checks passed
@duncanmcclean
duncanmcclean deleted the grid-container-field-labels branch October 29, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Grid Field: Bard field label issues

1 participant