Skip to content

Resetting errors #366

Answered by edmundhung
hjaved-nha asked this question in Q&A
Dec 25, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You can trigger a native form reset event, which conform listens to, using formElement.reset(). If you are not passing a custom ref object to useForm(), you should have a default form ref object with form.ref already.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hjaved-nha
Comment options

Answer selected by hjaved-nha
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