Skip to content

reset form and doing a focus on an input is problematic #2746

Answered by bluebill1049
behivetech asked this question in Ideas
Discussion options

You must be logged in to vote

hey @Bruqui as far as I know, we don't do anything async in reset, but this could be the reason why you are having an issue:

https://github.com/react-hook-form/react-hook-form/blob/master/src/useForm.ts#L1114

we do invoke native form reset API.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@behivetech
Comment options

@bluebill1049
Comment options

@behivetech
Comment options

@bluebill1049
Comment options

@rimzzlabs
Comment options

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