Call useFormik outside Formik Context. #3426
Unanswered
rajat-arora084
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have couple of components which are used under Formik. And they are working just fine.
Now, there is a requirement to also use them at few other place (basically without Formik )
Is there any way I can call useFormik without the Formik context.
I have tried to pass undefined & empty object but it basically fails inside useField internal function.
Can anyone suggest some workaround or a solution?
Beta Was this translation helpful? Give feedback.
All reactions