-
|
How to call a function when validation fail? It is possible with handleSubmit? |
Beta Was this translation helpful? Give feedback.
Answered by
logaretm
Aug 4, 2021
Replies: 1 comment
-
|
No its not possible with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gagarine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No its not possible with
handleSubmit. Instead you can usevalidateinstead and depending on the result either call your success handler or the failure handler.