Open ProteanCode opened 4 years ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 60 days
Reopen this as it's still happening
I'm also incurring in this issue
Same for me: I lost half an hour searching why it was not validating my input
🚀 Feature request
Current Behavior
Currently if we pass a simple object as validation object, ie.
{ name: Yup.string().required(), data: { age: Yup.number() } }
We get an error
formik.esm.js:1178 Uncaught TypeError: schema[(intermediate value)(intermediate value)(intermediate value)] is not a function at validateYupSchema (formik.esm.js:1178)
Desired Behavior
A more clear error like Passed validationSchema is not a valid Yup object