Skip to content
New issue

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

Formik does not re-render when initialValues change #29

Open
giorgigigauri opened this issue May 15, 2020 · 1 comment
Open

Formik does not re-render when initialValues change #29

giorgigigauri opened this issue May 15, 2020 · 1 comment

Comments

@giorgigigauri
Copy link

Formik needs to enable re-initialize
Example:
<Formik
enableReinitialize // missing piece!!
initialValues={props.initialValues}

@zaguiini
Copy link
Owner

zaguiini commented Jun 7, 2020

Something is wrong, because the code already has this piece of information. Can you describe your use case and provide some code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants