1、現(xiàn)在有一個(gè)需求,當(dāng)startdate被選后,enddate只能選擇同一個(gè)月的日期,比如 startdate選擇了 2016-04-21 那么enddate只能選擇4月份的內(nèi)容,請(qǐng)問怎么設(shè)置
2、怎么刪掉日歷上的選擇按鈕
設(shè)置minDate/maxDate
max-date="endDate" on the startDate input
min-date="startDate" on the endDate input
修改對(duì)應(yīng)的template
https://github.com/angular-ui/bootstrap/blob/master/template/datepicker/day.html
templateCache key => "uib/template/datepicker/day.html"