AlexJPotter / fluentvalidation-ts

A TypeScript-first library for building strongly-typed validation rules
Apache License 2.0
86 stars 6 forks source link

Uncaught (in promise) TypeError: e2 is null #46

Open rwb196884 opened 10 months ago

rwb196884 commented 10 months ago
Uncaught (in promise) TypeError: e2 is null
    _validate CoreValidator.ts:138
    validate CoreValidator.ts:482
    runValidateHandler Formik.tsx:199
    runValidateHandler Formik.tsx:198
    runAllValidations Formik.tsx:314
    validateFormWithHighPriority Formik.tsx:336
    useEventCallback Formik.tsx:1213
    useFormik Formik.tsx:352

The only way I have found to stop this is to remove all the validation rules.

What's going on?

AlexJPotter commented 6 months ago

Hi @rwb196884 - can you please provide some reproduction steps or further context? I'm afraid it's going to be very hard to diagnose the issue without more information!