DEV Community

Anthony Nassif
Anthony Nassif

Posted on

From in Formik unable to properly validate inputs

Please find the attached code below,The main issue with the code is that the form isn't handling inputs properly. If the value of the input is valid, it constantly reads it as if there is no input to begin with. The form is done using Formik and validation on Yup.

I believe the issue is with the onChange filed however i do not know how to fix this issue.
Codesandbox of the code

Top comments (0)