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

https://github.com/angular-ui/ui-date

i able use bootstrap datepicker using directives , have link object within directive manipulate datepicker using jquery code.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -