"isDirty" formState remains "false" after removing item from field array #3360
-
Hi everyone! I have a question about "onDirty" formState. I have a form, consisting of field array and several controls. And the problem is: Here is CSB example.
What is the correct behavior? What I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
can you test with the the latest version? |
Beta Was this translation helpful? Give feedback.
-
Hey! I'm facing a very similar issue. When removing an item from an array, I would expect the whole array to be marked as dirty, which is not the case. To reproduce: remove second item here: https://codesandbox.io/s/dlpcfc?file=/src/index.js:145-168 |
Beta Was this translation helpful? Give feedback.
-
Is there any update about this issue? |
Beta Was this translation helpful? Give feedback.
can you test with the the latest version?