react-date-picker
react-date-picker copied to clipboard
Add onInvalidEntry prop
Trying propagate up an invalid entry so the component doesn't fail silently.
https://github.com/wojtekmaj/react-date-picker/issues/103
Taken from @mklosterboer : https://github.com/wojtekmaj/react-date-picker/pull/250#issuecomment-632801426
When will this be implemented? manually inputting a date and erasing/removing the value will throw an invalid date error.
@irunner-toptal thank you for your contribution. I re-implemented it on top of our new architecture in c244775450d3d37695c50974c0a78f1cc66cc8b0 and made you a co-author of the commit. Hope that's alright! Thanks again!