skip to Main Content

Formik value does not update with onChange formik.handleChange – Reactjs

This is my <CardBody> : <CardBody> <CustomInput value={formik.values.email} onChange={(e) => { formik.handleChange(e); setErrMsg(""); }} labelText="Email..." id="email" inputProps={{ type: "email", endAdornment: ( <InputAdornment position="end"> <Email className={classes.inputIconsColor} /> </InputAdornment> ), }} /> <CustomInput value={formik.values.password} onChange={(e) => { console.log("change password"); formik.handleChange(e); setErrMsg(""); }}…

VIEW QUESTION
Back To Top
Search