Skip to content

Tried to submit form programmatically using React-hook-form and useActionState, always got error A React form was unexpectedly submitted. #73157

Answered by icyJoseph
muhsalaa asked this question in Help
Discussion options

You must be logged in to vote

This was reported here, #72598

AFAIK, I couldn't 100% reproduce it, I got the error, but changing to requestSubmit did work.

Maybe we should continue the conversation over there.

Replies: 1 comment

Comment options

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