angularjs - How to specify date only in angular-bootstrap-datetimepicker -
it seems insist on making choose time also. went through read me several times , i'm not seeing how date.
https://github.com/dalelotts/angular-bootstrap-datetimepicker
you need set minview
day
in config datetimepicker-config="{'minview':'day'}"
. restricts selection till level. so, making day
, won't let select further day
s. this:
<datetimepicker ng-model="date" datetimepicker-config="{'minview':'day'}" />
that should it!
Comments
Post a Comment