-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Remove mutator does not remove the correct field #49
Comments
This was referenced Oct 22, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you submitting a bug report or a feature request?
Bug report
What is the current behavior?
Removing a field using
remove
mutator does not remove the correct field from the screen, if the fields are re-arranged usingmove
mutator before removing.What is the expected behavior?
Correct field is removed from the screen
Sandbox Link
To reproduce the bug:
https://codesandbox.io/s/final-form-arrays-bug-x17sb
What's your environment?
The bug can be reproduced using final-form-arrays version from 1.2.0 to 3.0.2
Version 1.1.2 is working as expected
Other information
Final Form state seems to be updated correctly (as seen in sandbox example). But somehow Field components doesn't get updated with those values.
The text was updated successfully, but these errors were encountered: