angular ui - Using bootstrap datepicker methods with AngularJS ui-date -
i use setdatedisabled method in bootstrap-datepicker, unsure on how use in angular.
https://bootstrap-datepicker.readthedocs.org/en/latest/methods.html#setdatesdisabled
i managed initialize datepicker nicely with
<input ui-date="datepickeroptions" ng-model="rigdate.date" />
and on javascript side
$scope.datepickeroptions = { orientation: 'top', startdate: payperiodservice.getstartdate(), enddate: payperiodservice.getenddate(), format: 'yyyy-mm-dd', };
using angular-ui
i able use bootstrap datepicker using directives , have link object within directive manipulate datepicker using jquery code.
Comments
Post a Comment