issue: field array status, once dirty stays dirty #10214
Unanswered
CrocoDillon
asked this question in
Q&A
Replies: 3 comments
-
@CrocoDillon was there any update on this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any updates? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@LoicKairon @thomas-cruz I'm sorry I haven't checked this for a while. As far as I know the issue is still there. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Version Number
7.37.0
Codesandbox/Expo snack
https://codesandbox.io/s/react-hook-form-usefieldarray-forked-kkgvjt?file=/src/index.tsx
Steps to reproduce
Expected behaviour
Field array's
isDirty
status should reset tofalse
. All relevant (deep) fields indirtyFields
reset tofalse
but they are not removed properly, soisDirty
for the whole field array remainstrue
even though nothing is changed.Note that the form's
isDirty
status properly resets tofalse
.What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions