Closed Boasbabs closed 5 years ago
Hi, @Boasbabs!
Could you provide a sandbox with the error or maybe some sample code of how you are using the library so I can see if there is something wrong?
This one can be closed. That issue occurs when OnDateChange function is not defined! The error message is not clear though
@jaybe78, the onDateChange
function is declared as required with propTypes
, so you must see a warning in the console if you don't provide it, but unfortunately this doesn't prevent a runtime error.
I'm going to close the issue, but feel free to open an issue or a PR if you have any suggestion on how to improve this behaviour or error message.
🐛 bug report
I get this error when I select a date. What am I doing wrong?
Consider adding an error boundary to your tree to customize error handling behavior. Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
Description of the problem
How has this issue affected you? What are you trying to accomplish?
I am trying to select a date thru the datepicker and pass value to my state. My package.json (note: some packages have been removed)
Link to a sandbox: [link]() (optional)