Closed IgorShayderov closed 2 years ago
It's a problem for vue2 https://vuejs.org/v2/guide/reactivity.html#For-Arrays.
// fix it
// this.calendars[0] = newStartDate;
// this.calendars[1] = nextDate;
this.calendars = [newStartDate, nextDate]
@mengxiong10 Thank you very much! It works.
Hello. I'm trying to make calendar-range's months adjacent. Whenever user picked date or navigated to next month using buttons, months should be adjacent. Like this:
(October, November)
This is my code:
When I look at this.calendars I see that everything is perfect, but in real one side of calendar every time don't updating. I have tried $forceUpdate() but it doesn't work.