final-form / final-form/react-final-form-arrays

Submit errors are not removed on `fields.remove` call

Open
#19 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
210
Forks
69
PR merge metrics
No merged PRs in 30d

Description

### Are you submitting a **bug report** or a **feature request**?
A bug.

### What is the current behavior?

[![Edit 🏁 React Final Form - Array Fields Submit error bug](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/lxqoqzvx57)

### What is the expected behavior?
Submit error is matched with array field - when the field is removed, submit error is also removed

### What's your environment?

Forked from offical example:
```
"dependencies": {
"styled-components": "2.2.4",
"react-final-form-arrays": "1.0.0",
"react-final-form": "1.1.1",
"react-dom": "16.2.0",
"react": "16.2.0",
"final-form-arrays": "1.0.0",
"final-form": "1.2.1"
}
```
Locally:
```
"final-form": "^4.1.0",
"final-form-arrays": "^1.0.4",
...
"react-final-form": "^3.0.5",
"react-final-form-arrays": "^1.0.3",
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.