Open
Description
openedon Nov 8, 2022
Describe the bug
When I do the following code
setFiedsValues(values, { keepUnmounted: true, keepPristine: false });
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
- Have a form with pristine true
- Make a
setFieldsValues
withkeepUnmounted: true
andkeepPristine: false
- Look at the form pristine value
Expected behavior
keepPristine: false
should allow form isPristine
value to be false after setFieldsValues
Desktop (please complete the following information)
- OS: macos
- Browser: Arc
- Version 0.74.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment