Skip to content

reset "the first onBlur" event of " mode: onTouch" after calling reset() #3458

Answered by bluebill1049
6thpath asked this question in Ideas
Discussion options

You must be logged in to vote

hey, take a look at the codesandbox, it's correct to call reset at useEffect: https://codesandbox.io/s/reproduce-react-hook-form-forked-tqs9u?file=/src/App.js

there is a CSB with submit reset: https://react-hook-form.com/api#reset

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@6thpath
Comment options

@bluebill1049
Comment options

Answer selected by 6thpath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants