-
Notifications
You must be signed in to change notification settings - Fork 92
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
Error when unselecting last month #60
Comments
I actually did not take into consideration the way to set null or empty value on the picker panel. But for now, you may try to offer the option to "clear" the selection in your pick box. |
Hi, that's also the solution I chose, giving a null value to the input displaying the currently selected date, so it looks like there is none selected. Edit: forgot to mention but currently is you unselect all the selected options in a picker(that allows multiple select), it will completely crash react as it throw and error with the map (the error comes from the demo site)
|
there is no way to have an empty value in the month picker, tried on demo page the whole page is crashing when we unselect the selected month, we should be able to put a null or empty value and show "pick a month" default placeholder.
The text was updated successfully, but these errors were encountered: