Can you add a custom css class to a form component (like a toggle?)

I have a form inside a grid that all the toggle buttons are aligned to the top - I'd like to have the toggle compnent align vertically with textinput elements in the same row. Is this possible?
Solution:
->extraAttributes(['class' => 'custom_css']) ->extraInputAttributes(['class' => 'custom_css'])...
Jump to solution
4 Replies
islandnuge
islandnugeOP5w ago
No description
Solution
toeknee
toeknee5w ago
->extraAttributes(['class' => 'custom_css']) ->extraInputAttributes(['class' => 'custom_css'])
islandnuge
islandnugeOP5w ago
Awesome - thank you @toeknee !!! also @Tim van Heugten thank you!

Did you find this page helpful?