final-form / final-form/react-final-form
Can't get real-time data from FormState.
- 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 report
### What is the current behavior?
According to[ your document](https://final-form.org/docs/final-form/types/FormState#values), `FormState.values` is the current values of the form. However, when the form data is changed, `FormState` doesn't renew it's values in **real-time**. The only way to get the changed data is `subscribe` the values. I don't know why I can't get current data with `FormState.values`.
### What is the expected behavior?
Just like what document says, if the input is changed, `FormState.values` should be changed, too.
### Sandbox Link
### What's your environment?
### Other information
Contributor guide
Assessment
This issue has not been assessed yet.