aar*_*ffy 4 angularjs angular-ui bootstrap-datepicker
我找不到配置angularjs ui-bootstrap datepicker弹出窗口的方法,以便它只显示按钮,而不是前面的文本输入字段.
有没有人有类似的要求?
这有效:
.date-popup {
opacity: 0;
width: 0;
}
<p class="input-group">
<span class="input-group-btn">
<input type="text" class="date-popup"
datepicker-popup="{{format}}" ng-model="dt"
is-open="opened" datepicker-options="dateOptions"
date-disabled="disabled(date, mode)" ng-required="true"
show-weeks="false" close-text="Close">
<button type="button" class="btn btn-default" ng-click="open($event)">
<i class="glyphicon glyphicon-calendar"></i>
</button>
</span>
</p>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7882 次 |
| 最近记录: |