indrimuska / angular-moment-picker

Angular Moment Picker is an AngularJS directive for date and time picker using Moment.js.
http://indrimuska.github.io/angular-moment-picker/
MIT License
525 stars 226 forks source link

How to disable dates, like weekends or an array of dates? #189

Open Bodom78 opened 7 years ago

Bodom78 commented 7 years ago

The official Angular Material mdDatePicker has a md-date-filter attribute which takes a function to check if a date should be enabled or disabled.

I could not find anything in the docs about disabling specific dates. Is it not possible or did I miss something?

Cheers.

juarezgerman commented 6 years ago

hello, Im looking for the same... is it possible to disable specific dates?thanks.

Remi-p commented 6 years ago

Take a look at this part of the readme (using selectable method): https://github.com/indrimuska/angular-moment-picker#methods (initially added in https://github.com/indrimuska/angular-moment-picker/pull/62)

juarezgerman commented 6 years ago

Thanks! I will check it.

juarezgerman commented 6 years ago

It work!!!thanks!!!