fieldset template should respect description display setting (before)

Created on 16 September 2024, 7 months ago

Problem/Motivation

The fieldset template of bootstrap5 (fieldset.html.twig) should respect the description display setting brought in with description_display template variable. Especially it is now not respecting the 'before' display setting, putting the description at the end of the fieldset even if the 'before' is chosen as display setting.

Steps to reproduce

create a fieldset element with description and set 'description_display' to 'before'. See that the description of the fieldset is displayed at the end of the fieldset element.

Proposed resolution

Use the template markup like stable9 does to distinct betweek 'before' and other description display setting.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

🇩🇪Germany stefan.korn Jossgrund

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