It looks like Formik\'s flag "isValid" is set to true in certain cases, even if the form values should not be considered valid. I have a working codesandb
true