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

Update peer dependency version to allow Formik 2.0 #137

Closed
R4DIC4L opened this issue Jan 29, 2020 · 3 comments
Closed

Update peer dependency version to allow Formik 2.0 #137

R4DIC4L opened this issue Jan 29, 2020 · 3 comments

Comments

@R4DIC4L
Copy link

R4DIC4L commented Jan 29, 2020

Can the peer dependency be updated to also include formik version 2 or does it only work with version 1?

+-- UNMET PEER DEPENDENCY formik@2.1.3

npm ERR! peer dep missing: formik@>= 0.11.x < 2, required by react-native-formik@1.7.7
@alkalox
Copy link

alkalox commented Mar 16, 2020

Seems like work on react-native-formik stopped around the time the last stable version of Formik 1.x.x came out, which was 1.5.8, the package hasn't been updated for Formik v2.x.x

Right now it's working with Formik@1.5.8, for any future people who wish to use this package.

@IzliaB
Copy link

IzliaB commented Nov 29, 2021

Hi! You can resolve that? I have same problem, I updated react native from 0.59 to recent version, and when I want to run the project, I get these errors. Could anyone help me, please? Please please please

@alkalox
Copy link

alkalox commented Nov 30, 2021

@IzliaB Look at this comment, you need to provide the initialValues prop in Formik component #142 (comment) or this comment #173 (comment)

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

3 participants