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

🪡 related #10143 not update dirty until interacted #10157

Merged
merged 1 commit into from Mar 21, 2023

Conversation

bluebill1049
Copy link
Member

@bluebill1049 bluebill1049 commented Mar 21, 2023

https://codesandbox.io/s/react-hook-form-get-started-forked-q0qu2g?file=/src/index.js

  • do not report dirty if the user hasn't interact with the form.

@codesandbox
Copy link

codesandbox bot commented Mar 21, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@github-actions
Copy link
Contributor

Size Change: -48 B (0%)

Total Size: 18.6 kB

Filename Size Change
dist/index.cjs.js 9.26 kB -27 B (0%)
dist/index.umd.js 9.37 kB -21 B (0%)

compressed-size-action

@bluebill1049 bluebill1049 marked this pull request as ready for review March 21, 2023 22:01
@bluebill1049 bluebill1049 changed the title related #10143 not update dirty mounted 🪡 related #10143 not update dirty mounted Mar 21, 2023
@bluebill1049 bluebill1049 changed the title 🪡 related #10143 not update dirty mounted 🪡 related #10143 not update dirty until interacted Mar 21, 2023
@bluebill1049 bluebill1049 merged commit 5292587 into master Mar 21, 2023
6 checks passed
@bluebill1049 bluebill1049 deleted the prevent-update-dirty-when-mount branch March 21, 2023 22:02
kylemclean pushed a commit to kylemclean/react-hook-form that referenced this pull request Feb 2, 2024
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.

None yet

1 participant