Providing initialValues for an array in final-form-arrays causes state changes to reset the whole form, how can i prevent this?
问题 I have a form that uses final-form-arrays. The form works and validation works, however, when i make a state change inside the component, it resets all my values. I was able to replicate the issue with the same example that react-final-form-arrays provides: https://codesandbox.io/embed/react-final-form-field-arrays-om6p6 I added a button to toggle a state change. Essentially, just try filling values in the form, and then change the state. The form will reset, and i cant figure out why that is