jsmodules / angular-material-calendar

A calendar directive for AngularJS and Angular Material Design
https://angular-material-calendar.bradb.net/
Mozilla Public License 2.0
182 stars 86 forks source link

ng-model not working when selectedDate is updated inside of on-day-click method #102

Open MojioMS opened 8 years ago

MojioMS commented 8 years ago

I can change the selectedDate array programatically and the calendar UI selection updates correctly. But when I try to do that inside of my dayClick function, the calendar UI selection does not update anymore. Also, after a day is clicked, the calendar UI does not update anymore, even if the selection changes programatically outside of the dayClick function.