Formik doesn't clear form values on Submit? #3762
Unanswered
NeeshSamsi
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
-
I'm using Formik with Next.js with the Formik, Form & Field components. The form works, values, errors & submitting works. But on submit, the form doesn't clear the values.
Link to code: https://github.com/NeeshSamsi/srot/blob/main/app/contact/page.tsx
I thought Formik handles that. Unsure if I have done something wrong, maybe I need to do it manually. Or it may be something else. I would appreciate if someone could let me know if I there's a way I need to do it manually or if there's any other error in my code or environment.
Beta Was this translation helpful? Give feedback.
All reactions