国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

angular.js - How to restrict angular's datepicker to only select the date of the current month?
為情所困
為情所困 2017-05-15 17:01:03
0
1
809

1. Now there is a requirement. When startdate is selected, enddate can only select the date of the same month. For example, if startdate selects 2016-04-21, then enddate can only select the content of April. How to set it up

2. How to delete the selection button on the calendar

為情所困
為情所困

reply all(1)
洪濤
  1. 設置minDate/maxDate

max-date="endDate" on the startDate input
min-date="startDate" on the endDate input


  1. 修改對應的template

https://github.com/angular-ui/bootstrap/blob/master/template/datepicker/day.html

templateCache key => "uib/template/datepicker/day.html"

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template