Angular-ui Datepicker Max-date Doesn't Work Properly
I am trying to get the min-date and max-date to be set from the datepicker-options, but have been unsuccessful. A code snippet is attached. Any help? Thanks!
Solution 1:
<datepicker ng-model="dt" minDate="'05/01/2015'" datepicker-options="dateOptions" class="well well-sm" custom-class="getDayClass(date, mode)"></datepicker>
try this, put the minDate in the markup
Post a Comment for "Angular-ui Datepicker Max-date Doesn't Work Properly"