kevicency / formik-office-ui-fabric-react

💉 Instant pain reliever for using Formik with Office UI Fabric React 💉
https://kmees.github.io/formik-office-ui-fabric-react
MIT License
42 stars 13 forks source link

Date picker validation issue #7

Open dusanjovanov opened 4 years ago

dusanjovanov commented 4 years ago

I have a date picker field that's required, and the error shows if there's no value. But when I set the value, the error doesn't go away immediately. Like the validation runs before setting of the value or something. It goes away only after I focus and blur the field again.

captured

JaynPan commented 4 years ago

The same issue on FormikDropdown, it works fine on Formik 1.4.0, but the bug appears in 2.1.4. I didn't test other versions though.

codesandbox