File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
examples/with-material-ui Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ const ContactForm = ({
275275);
276276```
277277
278- ** Warning:** ` <Formik component> ` takes precendence over ` <Formik render> ` so
278+ ** Warning:** ` <Formik component> ` takes precedence over ` <Formik render> ` so
279279don’t use both in the same ` <Formik> ` .
280280
281281### ` render: (props: FormikProps<Values>) => ReactNode `
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const WithMaterialUI = () => {
3838 label = "Email"
3939 value = { formik . values . email }
4040 onChange = { formik . handleChange }
41+ onBlur = { formik . handleBlur }
4142 error = { formik . touched . email && Boolean ( formik . errors . email ) }
4243 helperText = { formik . touched . email && formik . errors . email }
4344 />
@@ -49,6 +50,7 @@ const WithMaterialUI = () => {
4950 type = "password"
5051 value = { formik . values . password }
5152 onChange = { formik . handleChange }
53+ onBlur = { formik . handleBlur }
5254 error = { formik . touched . password && Boolean ( formik . errors . password ) }
5355 helperText = { formik . touched . password && formik . errors . password }
5456 />
You can’t perform that action at this time.
0 commit comments