扫码关注官方订阅号
1、现在有一个需求,当startdate被选后,enddate只能选择同一个月的日期,比如 startdate选择了 2016-04-21 那么enddate只能选择4月份的内容,请问怎么设置
2、怎么删掉日历上的选择按钮
设置minDate/maxDate
max-date="endDate" on the startDate input min-date="startDate" on the endDate input
修改对应的template
https://github.com/angular-ui/bootstrap/blob/master/template/datepicker/day.html
templateCache key => "uib/template/datepicker/day.html"
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
设置minDate/maxDate
max-date="endDate" on the startDate input
min-date="startDate" on the endDate input
修改对应的template
https://github.com/angular-ui/bootstrap/blob/master/template/datepicker/day.html
templateCache key => "uib/template/datepicker/day.html"