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

Ran into "is dirty" validation issues when state was used to autofill a form's input field.

Open
#1,020 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

I have a field in my RFF where a user can
-> type a partial address
-> select an address from a drop down
-> have it autofill some of the inputs in my RFF using component level state.

However for validation fields that are using state as value's for input fields will always show empty as the RFFs internal state isn't being updated to be in sync with autofill values from component level state.

Any suggestions on how to proceed?

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.