jaredpalmer / formik-persist

💾 Persist and rehydrate a Formik form to localStorage
MIT License
376 stars 56 forks source link

No persistency on setFieldValue() #17

Open neevai opened 5 years ago

neevai commented 5 years ago

When calling Formik.setFieldValue, the state of Formik changes, but since formik-persist saves on componentDidUpdate, the changes won't save.

neevai commented 5 years ago

workaround- make another call to setFieldValue() without parameters

miguelmich commented 5 years ago

@neevai did you find any other way to achieve this? thanks :)

neevai commented 5 years ago

@neevai did you find any other way to achieve this? thanks :)

Nope :(