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 am using Formkit (v1.6.5) on a few large forms in my project.
Problem
On submit, if one input in my forms is invalid, all inputs are styled as invalid. How can I limit the invalid styling to the inputs, where validation fails? Any help is highly appreciated.
My Configuration
in my formkit.config.js, I am defining a theme using TailwindCSS classes. Here is the gist of it:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am using Formkit (v1.6.5) on a few large forms in my project.
Problem
On submit, if one input in my forms is invalid, all inputs are styled as invalid. How can I limit the invalid styling to the inputs, where validation fails? Any help is highly appreciated.
My Configuration
in my
formkit.config.js
, I am defining a theme using TailwindCSS classes. Here is the gist of it:Beta Was this translation helpful? Give feedback.
All reactions