You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this to wrap external Inputs. Those Inputs don't always pass an event when firing onBlur though. I expected this to be fine by formik, because I passed the name of the corresponding field explicitly.
It turns out though that the following lines still try to access the event, even though there's no need to when the path is explicitly passed.
🐛 Bug report
I've created a FieldWrapper that looks somewhat like this:
I'm using this to wrap external Inputs. Those Inputs don't always pass an
event
when firingonBlur
though. I expected this to be fine by formik, because I passed thename
of the corresponding field explicitly.It turns out though that the following lines still try to access the
event
, even though there's no need to when thepath
is explicitly passed.formik/src/Formik.tsx
Lines 444 to 445 in 85d15b3
Is it possible/reasonable to rewrite those lines in a way that
e
is not accessed when thepath
is passed?The text was updated successfully, but these errors were encountered: