Replies: 1 comment
-
Sounds like this would also solve https://github.com/orgs/formkit/discussions/707. We'll look into it. |
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 an app where I have a field whose content I don't want to have in my forms model. But I want field validation for it and in case of invalidity I want to disable my submit button.
I do not see a simple solution for this using FormKit. It seems like the
ignore
property is the way to go. I see the validation error message then but the submit button does not recognize that the validation state it (https://formkit.com/inputs/form Section "Validity State"). I tried it with dynamically settingignore
dynamically if and only if the validation requirements are not met. But the dynamic change to the value ofignore
does not seem to have an affect on the validity state of the form.Either
ignore
should not work lazy, or there should be away to only ignore the form field in the model and not disable validation.Beta Was this translation helpful? Give feedback.
All reactions