-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
Setting the value of the calendar to undefined doesn't deselect the day that was previously selected #921
Comments
@santiagopuentep If you set the value to null it will work as expected. |
It worked. Thanks! It still looks like a bug so I'll leave the issue opened. |
It doesen't work for me. In mode allowPartialRange=true, if selected just a begin of date ranges, when I want clear values, I get setValues(null), but the blue color is still there. If selected both of values date range, clearing (setValues(null)) is working. |
@jul0706 |
I made a code sandbox to reproduce the bug. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days. |
Before you start - checklist
Description
I set the value to a certain date and that day turns blue. If I then set the value back to undefined, the day is still blue.
Steps to reproduce
Expected behavior
The blue color should disappear if no date is selected.
Actual behavior
The blue color is still there as if there was a date selected, but the value is undefined so there shouldn't be any.
Additional information
No response
Environment
The text was updated successfully, but these errors were encountered: