govuk-react-jsx icon indicating copy to clipboard operation
govuk-react-jsx copied to clipboard

Document wrapping component for date input

Open andymantell opened this issue 5 years ago • 1 comments

Using the date input with a form library like Formik causes problems because it is not able to handle a top level value prop. You need to wrap the component and create an "adapter" of sorts. We should document this...

https://gist.github.com/andymantell/278e67a9b4617e54fe3ddfbf858d0b37

andymantell avatar Jan 14 '20 10:01 andymantell