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
When I do the following code
setFiedsValues(values, { keepUnmounted: true, keepPristine: false });
the pristine state do not change, it's stay to true
true
https://codesandbox.io/s/lucid-curran-fzy8qq?file=/src/App.tsx
setFieldsValues
keepUnmounted: true
keepPristine: false
keepPristine: false should allow form isPristine value to be false after setFieldsValues
isPristine
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When I do the following code
the pristine state do not change, it's stay to
true
CodeSandbox
https://codesandbox.io/s/lucid-curran-fzy8qq?file=/src/App.tsx
To Reproduce
setFieldsValues
withkeepUnmounted: true
andkeepPristine: false
Expected behavior
keepPristine: false
should allow formisPristine
value to be false aftersetFieldsValues
Desktop (please complete the following information)
The text was updated successfully, but these errors were encountered: