Version Number
7.53.0
Codesandbox/Expo snack
https://codesandbox.io/p/sandbox/damp-snow-td7pff
Steps to reproduce
- Create a form that uses
useFieldArray, add some mockup fields as default values
- Call remove on one of the fields
- Submit the form using the new
Form component
- The FormData still contains entries for the deleted form, just with its contents set to "undefined"
This might be related to some of the options I'm using in my code (e.g. keyName), so check out the codesandbox for that.
Expected behaviour
After removing a field, the previous field should no longer be present in the FormData
What browsers are you seeing the problem on?
Firefox
Relevant log output
No response
Code of Conduct
Version Number
7.53.0
Codesandbox/Expo snack
https://codesandbox.io/p/sandbox/damp-snow-td7pff
Steps to reproduce
useFieldArray, add some mockup fields as default valuesFormcomponentThis might be related to some of the options I'm using in my code (e.g.
keyName), so check out the codesandbox for that.Expected behaviour
After removing a field, the previous field should no longer be present in the
FormDataWhat browsers are you seeing the problem on?
Firefox
Relevant log output
No response
Code of Conduct