How to detect bootstrap datetimepicker change events within angular2

后端 未结 5 1135
感情败类
感情败类 2020-12-05 08:14

I am using the bootstrap datetimepicker in angular 2

https://eonasdan.github.io/bootstrap-datetimepicker/

In my template i have:

5条回答
  •  既然无缘
    2020-12-05 08:33

    Try ngModelChange instead of change.

    
    
    // to catch the event
    changeDate(event: any) {
      console.log(event);
    }
    

提交回复
热议问题