Issue
I am using angular-ui bootstrap datepicker. Now I need to remove #(week) column and week button from datepicker. This date picker is being used in many forms of my application. I want to remove week column from all of them.
For this, I had globally configured the datepickerConfig (show-weeks) but still it is not working. Can anyone please let me know I am doing wrong with this?
Solution
Please, look at this example: http://plnkr.co/edit/6i4G7JkvBiWXZYlrV2GL?p=preview
angular.module('app', ['ui.bootstrap'])
.config(function (datepickerConfig) {
datepickerConfig.showWeeks = false;
});
Answered By - Gm0t
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.