Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Document wrapping component for date input #4

Open
andymantell opened this issue Jan 14, 2020 · 1 comment
Open

Document wrapping component for date input #4

andymantell opened this issue Jan 14, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@andymantell
Copy link
Collaborator

andymantell commented Jan 14, 2020

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
Copy link
Collaborator Author

Also need to address compatibility with react-hook-form

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant