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

Using `FormSpy` and `FieldArray`, each validation resets the form

Open
#623 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.4k
Forks
497
PR merge metrics
No merged PRs in 30d

Description

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

Bug

### What is the current behavior?

https://codesandbox.io/s/react-final-form-field-arrays-l2bum
_(if you remove FormSpy, inputs will be validated properly)_

### What is the expected behavior?
On FieldArray input, the input should be validated, not reseted like now

### Sandbox Link

https://codesandbox.io/s/react-final-form-field-arrays-l2bum
_(if you remove FormSpy, inputs will be validated properly)_

### What's your environment?

![image](https://user-images.githubusercontent.com/3931377/64780866-c67aee80-d561-11e9-9b68-4504afe0e0c4.png)

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.