How do I change the uib-datepicker-popup button bar?

前端 未结 2 1626
自闭症患者
自闭症患者 2021-01-29 11:57

I\'m using uib-datepicker-popup and I would like to change the button bar. Right now it uses .btn-info, .btn-danger and .btn-success for t

2条回答
  •  被撕碎了的回忆
    2021-01-29 12:36

    First, you need to add the datepicker-popup-template-url property

    
    

    Then, you need to create a template.html

    I added a custom button which is setting date 31/12/9999. Template is below

    
    

提交回复
热议问题