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

Submit errors are not removed on fields.remove call #47

Open
vitalii-parkhomenko-official opened this issue Feb 8, 2020 · 2 comments
Open

Comments

@vitalii-parkhomenko-official
Copy link
Contributor

vitalii-parkhomenko-official commented Feb 8, 2020

Are you submitting a bug report or a feature request?

Bug report.

What is the current behavior?

Submit error is not matched with the array field - when the field is removed, submit error is stay in the same place and not removed and display wrong error.

https://codesandbox.io/s/react-final-form-field-arrays-30tf2

What is the expected behavior?

Submit error is matched with the array field - when the field is removed, submit error is also removed.

What's your environment?

"final-form": "4.18.6"
"final-form-arrays": "3.0.2"
"final-form-focus": "1.1.2"
"react-final-form": "6.3.3"
"react-final-form-arrays": "3.1.1"

Other information

This bug already reported on Issue-18

@vitalii-parkhomenko-official
Copy link
Contributor Author

vitalii-parkhomenko-official commented Feb 8, 2020

Hi again! I have a hotfix #48.

@erikras
Could you check?

@David-Ginzburg
Copy link

@erikras Hi, saw you have updated the repo, thank you so much! please don't forget about this topic, it's still an issue, also for https://github.com/final-form/react-final-form-arrays

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

2 participants