Replies: 1 comment
-
You just need to target the "section" inside the formkit input you want to target like {
$formkit: 'text',
outerClass: 'my classses go here'
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a FormKit schema I dynamically generate. A bunch of checkboxes for example.
I now want to change (append, reset, remove) some classes to the input elements that are created. For non-form elements I can use
attr: { class: ["warning"]}}
but that does not work for form elements. How should I change the classes of those FormKit schema form elements?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions