Symfony version(s) affected
7.4.0
Description
After updating from 7.3 to 7.4, disabling the labels of submit buttons doesn't work anymore.
How to reproduce
- Add a
SubmitType with ['label' => false]
- Render it with
{{ form_widget(...) }}
=> I get the field's name rendered like this: <button>myButton</button>
Trying to disable the label in Twig with {'label': false} doesn't work either.
Possible Solution
No response
Additional Context
No response