Testing with React Native #3383
Unanswered
kaili-kameoka
asked this question in
Q&A
Replies: 1 comment
-
you have to pass a () inside the handleBlur, for example onBlur={handleBlur('email')}, or you can join it to formik, Ex: onBlur={formik.handleBlur} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the correct way to test Formik in React Native. I can't get the Blur event to fire in my tests. It seems like the blurHandler is loking for a persist property from the web version that doesn't exist in the Native version.
Here is a link to a repository: https://github.com/kaili-kameoka/react-native-sandbox/tree/formik
Beta Was this translation helpful? Give feedback.
All reactions