升级到版本0.11后单击时,不会弹出angular-ui-bootstrap日期选取器.
我已经尝试了设置的recommended work around
is-open="dt.open" ng-focus="dt.open=true"
只有在一个日历上启用它时才有效,但如果在同一页面上有两个日历,则无效(打开且无法使用).任何人都知道更好的工作,不污染范围?
我也尝试将ng-focus更改为ng-click,并且没有运气.
解决方法
两个单独的datepicker将需要2个不同的变量来控制它们:
is-open="dt.open" ng-focus="dt.open=true" // first datepicker is-open="dt2.open" ng-focus="dt2.open=true" // second datepicker