score:1

Accepted answer

Its happening because you mistyped validationSchema to ValidationSchema i.e

<Formik
            initialValues={initialValues}
            validationSchema={validationSchema}
            onSubmit={onSubmit}
        >

Here is demo working fine: https://codesandbox.io/s/spring-field-ieip1?file=/src/App.js


Related Query

More Query from same tag