react-final-form-arrays
react-final-form-arrays copied to clipboard
Having hidden FieldArrays in FieldArrays can mess up state if outer FieldArray item is deleted
Are you submitting a bug report or a feature request?
Bug report
What is the current behavior?
https://codesandbox.io/s/react-final-form-nested-arrays-validation-32he5
- Expand the first company's customer section
- See that all customers are editable (typing in customer fields is possible, company name is editable)
- Delete the company that is currently expanded (red x next to company name)
- The customer fields are uneditable, the fields contain the deleted company's customers
What is the expected behavior?
All fields remain editable
Sandbox Link
https://codesandbox.io/s/react-final-form-nested-arrays-validation-32he5
What's your environment?
Latest chrome
@vinczemarton did you found any work around for the issue ?
No, I backed out from using the library as it became very hard to debug performance.