https://github.com/formium/formik/blob/903c1101240632c84fa36c8991ea9fd03b25f1cf/packages/formik/src/Formik.tsx#L785
Document says submitForm return a promise, which will reject when validation failed. But due to the line of code I mentioned, It wont throw when validation failed.
Wish this bug fixed as soon as possible.
https://github.com/formium/formik/blob/903c1101240632c84fa36c8991ea9fd03b25f1cf/packages/formik/src/Formik.tsx#L785
Document says
submitFormreturn a promise, which will reject when validation failed. But due to the line of code I mentioned, It wont throw when validation failed.Wish this bug fixed as soon as possible.