【发布时间】:2016-07-01 11:07:41
【问题描述】:
我们正在使用 AngularUI 时间选择器 (https://angular-ui.github.io/bootstrap/) 来选择时间 集成后,我无法选择时间和设置格式,但我需要像 datepicker 一样在弹出窗口中显示相同的内容。 用户将单击时间图标,然后将出现一个弹出窗口以选择时间。厌倦了使用下面的代码,但没有工作。
<input type="text" class="form-control" uib-timepicker-popup ng-model="mytime" is-open="popup1.opened" ng-change="changed()"
hour-step="hstep" minute-step="mstep" show-meridian="ismeridian" ng-required="true" close-text="Close" />
我也做了同样的事情 - http://plnkr.co/edit/yv3xT8KbP6pD7tV46Clf?p=preview
如何在弹出窗口中显示时间选择?
Ref - http://plnkr.co/edit/S8UqwvXNGmDcPXV7a0N3?p=preview(请参阅选择时间选项)
【问题讨论】:
标签: angularjs popup angular-ui-bootstrap angular-ui timepicker