Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(reset): set isSubmitted to formState value if keepIsSubmitted is true #8368

Merged

Conversation

blabute
Copy link
Contributor

@blabute blabute commented May 17, 2022

#8237 introduced a bug where isSubmitted would be set to the value of keepIsSubmitted (not the isSubmitted value that was in form state).

…true

react-hook-form#8237 introduced a bug where isSubmitted would be set to the value of `keepIsSubmitted`
@codesandbox-ci
Copy link

codesandbox-ci bot commented May 17, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 8875572:

Sandbox Source
React Hook Form V7 (JS) Template Configuration
React Hook Form V7 (TS) Template Configuration

@bluebill1049 bluebill1049 merged commit 8825e36 into react-hook-form:master May 17, 2022
@bluebill1049
Copy link
Member

thanks for the fixing! ❤️

@blabute blabute deleted the fix/reset-isSubmitted-issue branch May 18, 2022 12:18
@blabute
Copy link
Contributor Author

blabute commented May 18, 2022

thanks for the fixing! ❤️

Thank you for the great package!

bluebill1049 added a commit that referenced this pull request May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants