-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unselect / Clear #211
Comments
If I pause in DevTools here is where the script is unresponsive (line 24 of calendar.js):
|
I'm experiencing the exact same issue. For now I'm going to re-render the whole parent component as to recreate the date range picker state. @hlarcher to do it i'm just adding a It's a great range picker, keep up the good job! |
This supposed to be fixed in #190 but the fix doesn't cover the scenario when no initialYear and initialMonth is specified. I've set up both of them to values that are outside possible data range and the picker works as expected.
|
Is there a way to unselect / clear the date range selection?
I've tried with a custom button that sets the value in state to null and then pass that value to the value prop but it makes the browser unresponsive without yielding any errors.
The text was updated successfully, but these errors were encountered: