g00fy- / angular-datepicker

calendar and datepicker directives for angular
MIT License
719 stars 420 forks source link

Set date on datepicker close #262

Open alex88 opened 8 years ago

alex88 commented 8 years ago

Is there a way to actually set the date or at least fire some event/function when the selection calendar is closed?

If I watch on the ng-model even if the user changes the month the ajax data gets reloaded, is there an easy way to reload only when the user actually clicks on a date or closes the datepicker (not when he changes month)?

jharting commented 8 years ago

I sent a PR exactly for this some time ago https://github.com/g00fy-/angular-datepicker/pull/250