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 1 reply
-
|
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 asonChangeand that is why it is not triggered 😉While you can add
onChangehandler on theFieldcomponent and render the react bootstrap component inside of it, ref - https://formik.org/docs/api/field#rendering