We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using a fetch to populate the initial values for Formik. One of the fields is null in the fetch result (password).
null
When I use this in a field, and change the input field to a value, the dirty state of the form becomes true.
Then when I remove that value again Formik will stay 'dirty'. Since Formik makes the field 'undefined' and not 'null'.
Does someone have a workaround for this?
The text was updated successfully, but these errors were encountered:
Example: https://codesandbox.io/s/strange-cerf-29xw6
Steps to reproduce:
Outcome: The submit button stays clickable. Expected outcome: The submit button should become disabled again.
Sorry, something went wrong.
No branches or pull requests
❓Question
I am using a fetch to populate the initial values for Formik. One of the fields is
null
in the fetch result (password).When I use this in a field, and change the input field to a value, the dirty state of the form becomes true.
Then when I remove that value again Formik will stay 'dirty'. Since Formik makes the field 'undefined' and not 'null'.
Does someone have a workaround for this?
The text was updated successfully, but these errors were encountered: