react-final-form
react-final-form copied to clipboard
Ran into "is dirty" validation issues when state was used to autofill a form's input field.
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?
Can you please provide a CodeSandbox to replicate the problem?