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 with keepUnmounted: true and keepPristine: 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
Describe the bug
When I do the following code
the pristine state do not change, it's stay to
trueCodeSandbox
https://codesandbox.io/s/lucid-curran-fzy8qq?file=/src/App.tsx
To Reproduce
setFieldsValueswithkeepUnmounted: trueandkeepPristine: falseExpected behavior
keepPristine: falseshould allow formisPristinevalue to be false aftersetFieldsValuesDesktop (please complete the following information)