react-date-picker icon indicating copy to clipboard operation
react-date-picker copied to clipboard

Add onInvalidEntry prop

Open irunner-toptal opened this issue 2 years ago • 1 comments

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

irunner-toptal avatar Dec 09 '21 23:12 irunner-toptal

When will this be implemented? manually inputting a date and erasing/removing the value will throw an invalid date error.

purefml avatar Mar 25 '22 09:03 purefml

@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!

wojtekmaj avatar May 22 '23 17:05 wojtekmaj