[Bug]: Regression bug generated by releases v7.15.3 (Form Reset)
@bluebill1049 is already working on this.
Since Sep 18, 2021.
Assessment
This issue has not been assessed yet.
Description
Version Number
7.15.3
Codesandbox/Expo snack
https://codesandbox.io/s/eloquent-breeze-gywwy?file=/src/Form.tsx
Steps to reproduce
Scenario 1
- Enter any string in the first name field
- Click on the reset button
- Enter any string in the last name field
- Check the dev tool
Actual: you should find both first & last names fields isDirty equals tor true
Scenario 2
- Enter any string in the first name field
- Enter any string in the last name field
- Click on the Save button (note that I reset the form with newly saved data after save)
- Change the value in the first name field
- Check the dev tool
Actual: you should find both fields has isDirty as false
Expected behaviour
Scenario 1
Expected: you should find only the last name field isDirty equals tor true
Scenario 2
Expected: you should find the first name field isDirty equals tor true
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Dominant language
- TypeScript
- Stars
- 670
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from react-hook-form/devtools
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
react-hook-form/devtools#234 · 1 comment · 5 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
react-hook-form/devtools#226 · 3 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
react-hook-form/devtools#223 · 2 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
react-hook-form/devtools#212 · 5 comments · 8 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
react-hook-form/devtools#208 · 13 comments · 21 reactions ·
All issues in react-hook-form/devtools
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·