fragaria / angular-daterangepicker

Angular.js wrapper for dangrossman/bootstrap-daterangepicker
MIT License
519 stars 371 forks source link

Update picker if the model value is changed for a single calendar #182

Closed nsjithin closed 5 years ago

nsjithin commented 8 years ago

For single date picker, the calendar won't show the updated date as selected, if the model value is changed from the controller. The value in the input box will be updated, but the calendar selection will be updated only on init and the selection won't change when the model value is changed. So the value of model need to be watched and update calendar accordingly.

chiu0602 commented 6 years ago

@nsjithin Thanks a lot!