You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…lock for checkbox and radio labels (wetternest)
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
[TwigBridge] foundation 5 layout: use form_label_content block for checkbox and radio labels
…dio labels
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix#53925
| License | MIT
[Twig Bridge] Foundation5 Form Layout
use the block `form_label_content` to display the label content of checkboxes and radios in order to support the `label_html` flag
Commits
-------
e4eca7c [TwigBridge] foundation 5 layout: use form_label_content block for checkbox and radio labels
Symfony version(s) affected
6.4, 7.0, 7.1
Description
The Symfony form theme "foundation 5" ignores the attribute
label_html=true
for checkboxes and radiosHow to reproduce
label
with some html in itlabel_html
totrue
foundation_5_layout.html.twig
SHOULD:
IS:
Possible Solution
use block
form_label_content
to render the label contentAdditional Context
No response
The text was updated successfully, but these errors were encountered: