Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 840 Bytes

form-integration.mdx

File metadata and controls

29 lines (19 loc) · 840 Bytes

import Ad from '_shared/Ad' import Example from '_shared/Example'; import PageMeta from '_shared/PageMeta'; import * as FormikExample from './Formik.example'; import * as ReduxFormExample from './ReduxForm.example';

Integration into forms

Pickers are quite complex controls, where date can be submitted from different places, so we can't provide events as arguments in an onChange callback. Also we are providing date validation out of the box, so it may be tricky to integrate pickers to the form. Here are some examples!

Formik Integration

Here is an example of how to integrate @material-ui/pickers with Formik

Redux Form Integration

@material-ui/pickers can also be integrated with Redux Form