Re-initialize or destroy Bootstrap datepicker dynamically

前端 未结 5 1920
别跟我提以往
别跟我提以往 2021-02-05 06:19

Is there a way to destroy the Bootstrap datepicker dynamically updating its options like format, beforeShowDay, etc.? I know that the jQuery UI datepicker has a destroy method b

5条回答
  •  梦如初夏
    2021-02-05 07:13

    forceParse: 1
    

    In your options. It will parse the input date field value every time.

提交回复
热议问题