disabledDates in calendar are not updating #3283
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
http://plnkr.co/edit/FykwvAeH0BhdxZUiF6RG?p=preview
Current behavior
First dates set as disabledDates are marked in the calendar as disabled. But if I update disabledDates property in the component, I have to go to the next month and then back to see changes.
Expected behavior
After changing disabledDates value, changes should be visible in the calendar instantly.
Minimal reproduction of the problem with instructions
Open plnkr case http://plnkr.co/edit/FykwvAeH0BhdxZUiF6RG?p=preview
Run it
Open the calendar
Notice disabled dates
Click on "Click me" button (now all the disabled dates are cleared)
Notice that disabled dates are still in the calendar
Go to next month
Go back to this month
Notice that disabled dates disappeared only now
The text was updated successfully, but these errors were encountered: