EasyCorp/EasyAdminBundle

setHtmlAttributes methods doesn't create multiple attributs

FabzAllotools opened this issue · 1 comments

I need to get 2 HTML attributs on a form tab by using setHtmlAttributes on FormField::addTab. Instead of getting 2 attributs I get only one containing as value all the rest of the array.

ex : ->setHtmlAttributes(['data-foo' => 'bar', 'autofocus' => 'autofocus']) should get <... data-foo=bar autofocus=autofocus> but I get <... data-foo="barautofocus=autofocus" instead>