Closed vishalqss closed 3 years ago
Since v5 the Checkbox does not receive onChange anymore it is handled under the hood directly by the component. Also if you using v5 please update to v5.1.11, you don't need to use the Field component here you can just render the Checkbox component without onChange, Formik will take care of it for you, in case you need to handle side effects on value change you can do this with an useEffect hook inside your Formik Form
I am using checkbox from
react-formik-ui
and it seems I am not able to access the onChange event of this component after I recently updated myreact-formik-ui
from version4.0.3
to5.1.9
and updated formik from version2.0.8
to2.2.6
.Implementation of the checkbox:
I am not able to run the onChangeHandler through onChange event and even the console log is not coming.