Formik: Add example with Draftjs

Created on 26 Jul 2017  路  3Comments  路  Source: formium/formik

Cascaded from #91

cc @mwickett

Documentation

Most helpful comment

Hi, how can I use yup to validate the draftjs content?

...
validationSchema={yup.object({
  editorState: yup.<what???>
  ...
})

thank you

All 3 comments

Hi, how can I use yup to validate the draftjs content?

...
validationSchema={yup.object({
  editorState: yup.<what???>
  ...
})

thank you

Yup.object().required()

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pmonty picture pmonty  路  3Comments

jonathonwpowell picture jonathonwpowell  路  3Comments

jaredpalmer picture jaredpalmer  路  3Comments

ancashoria picture ancashoria  路  3Comments

PeerHartmann picture PeerHartmann  路  3Comments