react-final-form icon indicating copy to clipboard operation
react-final-form copied to clipboard

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

Open ShawnCentra opened this issue 2 years ago • 1 comments

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?

ShawnCentra avatar Jan 23 '23 18:01 ShawnCentra

Can you please provide a CodeSandbox to replicate the problem?

gertdreyer avatar Mar 02 '23 18:03 gertdreyer