Skip to content

onValid is not a function #10444

Closed Answered by xanderjakeq
xanderjakeq asked this question in Q&A
Discussion options

You must be logged in to vote

okay i found my error.
I did not pass in a callback to the handleSubmit().

should be

handleSumbit(() => {
    //dosomething
})

Thanks.

Replies: 1 comment

Comment options

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