Remove week column and button from Angular-ui bootstrap datepicker

后端 未结 5 2095
醉梦人生
醉梦人生 2021-02-18 16:19

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.

5条回答
  •  眼角桃花
    2021-02-18 17:03

    If angular bootstrap ui version is 0.14.3, use the following

    app.config(function (uibDatepickerConfig) {
        uibDatepickerConfig.showWeeks = false;
        uibDatepickerConfig.showButtonBar = false;
    });
    

提交回复
热议问题