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
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>
The text was updated successfully, but these errors were encountered:
->setHtmlAttributes(['data-controller=foo data-foo-mycustom-value=myCustomValue data-ignore' => ''])
That will result in the first two attributes being added correctly, and the data-ignore is just for dealing with the set value.
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>
The text was updated successfully, but these errors were encountered: