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

onChange callback not getting passed previous value

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

Description

### What is the current behavior?
Currently onChange does not get previous values passed into it

### What is the expected behavior?
onChange functions like React-Native state and is called with atleast previous values

Without this it is difficult to use onChange within a setInterval as the function doesn't get the updated values every time it runs, using reacts state you can call their onChange and get updated values

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.