useFormik - onChange Not Firing #2486
-
So, I have some React Bootstrap drop downs (select-options) and text boxes that I want triggered onChange. What's the proper way to handle them from within the
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Probably related: |
Beta Was this translation helpful? Give feedback.
-
Hey @bradleyjdavid While you can add |
Beta Was this translation helpful? Give feedback.
Hey @bradleyjdavid
useFormik(config: FormikConfig)
doesn't accept any config asonChange
and that is why it is not triggered 😉While you can add
onChange
handler on theField
component and render the react bootstrap component inside of it, ref - https://formik.org/docs/api/field#rendering