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

pristine flag out of sync when mutator updates value on form init

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

Description

This issue is somewhat hard to describe, but very obvious from this codesandbox: https://codesandbox.io/s/zk7opzvmqm

As you can see, the `pristine` flag remains true event though the form is dirty. Any changes to other fields which would usually cause an update to the pristine/dirty flags do not cause updates either.

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.