Remove week column and button from Angular-ui bootstrap datepicker

后端 未结 5 2077
醉梦人生
醉梦人生 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:10

    To hide the weeks number you can use two different way.

    First one: adding into controller

    $scope.dateOptions = {
        'year-format': "'yy'",
        'starting-day': 1   };
    

    or Second way: add attribute in input field

    show-weeks="'false'"
    

提交回复
热议问题