issue: Restructure the defalultvalues in usefieldarray.when i insert row at 0 index defaultvalues is not working #10996
Unanswered
NarenderDhamarlapally
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.43.9
Codesandbox/Expo snack
https://codesandbox.io/s/react-hook-form-usefieldarray-forked-5wc685?file=/src/index.tsx
Steps to reproduce
Expected behaviour
when i insert row in 0 index restructure the defaultvalues .
first row -- > insertLastName --> Dirty: false
second row --> Luo -> Dirty: false
when i remove textfield "" should dirty = true when Luo is true
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions