Needs review
Project:
Display Suite
Version:
8.x-3.37
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2026 at 18:29 UTC
Updated:
2 Mar 2026 at 07:59 UTC
Jump to comment: Most recent
Comments
Comment #2
dalemoore commentedComment #3
dalemoore commentedComment #4
dalemoore commentedI think I figured it out. It actually just affects the ds-field-expert.html.twig file, or at least that's the only one I'm using.
label_display doesn't seem to get added to the macro on line 32, or in the two _self.field parts on line 25 and 28.
Comment #5
swentel commentedExpert is definitely a funky one, I'll have to test it myself to see what happens :)
(we don't use layout builder anymore in projects, so give me some time to set it up)
Comment #8
nickolajPatch adds `label_display` as a parameter to the `field` macro definition and both `_self.field()` calls in `ds-field-expert.html.twig`, so the `visually-hidden` CSS class is correctly applied when label display is set to "Visually Hidden".