首页 文章
  • 0 votes
     answers
     views

    ui.bootstrap datepicker模板:访问模型

    我正在使用AngularJS ui.bootstrap datepicker,我需要在弹出窗口中设置timepicker . 我修改了模板并在datepicker-popup-template-url属性中指定了它 . 新模板是标准的副本,它在那里显示,但我无法使其可用 . 当我为timepicker指定ng-model =“ngModel”时,它不会更改Date对象中的时间 . 它甚至可能吗?

热门问题