Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ShawnCentra opened this issue Jan 23, 2023 · 1 comment

Comments

@ShawnCentra
Copy link

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?

@gertdreyer
Copy link
Collaborator

Can you please provide a CodeSandbox to replicate the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants