issue: isDirty from getFieldState returns true for previous item #10731
Unanswered
haicaumuoi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version Number
7.44.3
Codesandbox/Expo snack
https://codesandbox.io/s/react-hook-form-usefieldarray-forked-q54mnf?file=/src/index.tsx:1208-1209
Steps to reproduce
Expected behaviour
when I append a new item in the array, should only the new item and the array to have their dirty states to be true? Why would the previous items dirty states is set to true too?
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Edge
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions