Replies: 1 comment 14 replies
-
is |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now there's a helper called
clearErrors
. However, this helper doesn't seem to affectformState.isValid
. I'm wondering if there's any way to manually clear validation without resetting or unregistering an input. My use case is I want to keep around form values, however, I don't' want them to affect validation if they are unmounted.If there's no way to do this. I'm wondering what you all think of adding a new method called
clearValidation
or adding an option toclearErrors
to also remove the validation for that input.Beta Was this translation helpful? Give feedback.
All reactions