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.
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.