EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

Attributes not settable on Fieldsets

Open KDederichs opened this issue 7 months ago • 1 comments

Describe the bug You can not set attributes on Fieldsets (neither in detail nor in edit/new)

To Reproduce FormField::addFieldset('Foo')->setFormTypeOptions(['attr' => ['data-controller' => 'price-calculator']]),

will not render the attribute to the fieldset tag

(OPTIONAL) Additional context It works for tabs, so it's a bit inconsistent

KDederichs avatar May 14 '25 12:05 KDederichs

and setHtmlAttributes too. not practical to show/hide areas dynamically

lguigo22 avatar Jun 09 '25 13:06 lguigo22