Skip to content

handleSubmit with a callback when validation fail #3433

Answered by logaretm
gagarine asked this question in Q&A
Discussion options

You must be logged in to vote

No its not possible with handleSubmit. Instead you can use validate instead and depending on the result either call your success handler or the failure handler.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gagarine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants