final-form/react-final-form-arrays

FieldArray wrapped in `div` not updating parent form

TrySpace opened this issue · 1 comments

I was building an external component to put in my main Form component.

It was not updateing the parent form. Turns out that was because I was wrapping it in a div, and probably react-final-form, does not look deeper than 1 level to see if there's a Field or FieldArray

Making an issue so other people might find it, but closing it immediatelly.

Seems I was wrong, the issue was with the component I was using (material-ui-chip-input) inside the FieldArray.

When the initial value was empty, no change was triggered. See: TeamWertarbyte/material-ui-chip-input#340