-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Closed
Copy link
Labels
status: under investigationaware of this issue and pending for investigationaware of this issue and pending for investigation
Description
Version Number
7.54.1
Codesandbox/Expo snack
https://codesandbox.io/p/sandbox/busy-currying-qsv3fs?file=%2Fsrc%2FApp.tsx
Steps to reproduce
Note that the keepDirtyValue option must be set for this to happen.
- Add an element to the array by clicking Append and fill its value
- Submit the form
- Delete the element you added
- Submit the form
- Delete the only element left
- Submit the form
- Click Append
Notice two empty elements were added.
Expected behaviour
I expect the array to be reliable. It should only have added one element at step 7.
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: under investigationaware of this issue and pending for investigationaware of this issue and pending for investigation