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

Jungwoo-An picture Jungwoo-An  路  3Comments

sibelius picture sibelius  路  3Comments

outaTiME picture outaTiME  路  3Comments

Jucesr picture Jucesr  路  3Comments

giulioambrogi picture giulioambrogi  路  3Comments