g00fy- / angular-datepicker

calendar and datepicker directives for angular
MIT License
722 stars 421 forks source link

max-date is not working properly #341

Open sujeet07 opened 6 years ago

sujeet07 commented 6 years ago

max-date is not working properly, when disable the future date, allowing select future date which is setting current date, if condition attrs.disabled nt getting true so it will always set current date scope.selectDate = function (date) { if (attrs.disabled) { return false; } Note: in demo apps is also not working.