Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldArray wrapped in div not updating parent form #155

Closed
TrySpace opened this issue Jan 11, 2021 · 1 comment
Closed

FieldArray wrapped in div not updating parent form #155

TrySpace opened this issue Jan 11, 2021 · 1 comment

Comments

@TrySpace
Copy link

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.

@TrySpace
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant