isValid and the form data are not in sync #11046
Unanswered
TonyVeigel
asked this question in
General
Replies: 0 comments
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.
-
As shown in this screenshot, the value in the field2 field is "a" so it should validate to true according to the validation. However, isValid is false several times before it switches to true. isValid and the formValue should be in sync. Or am I missing something?
https://codesandbox.io/s/serverless-wildflower-cd4rpr?file=/src/App.js
Beta Was this translation helpful? Give feedback.
All reactions