我正在使用angular ui-select指令,並嘗試使用禁用ng選項禁用它。角度ui-select中的ng-disabled選項縮小文本框
<ui-select multiple ng-model="address.selected"
theme="bootstrap"
ng-disabled="true"
reset-search-input="true"
style="width: 300px;">
這裏是plunker http://plnkr.co/edit/julETCG4zCGAxFJ0PSBF?p=preview
文本框的大小與NG-禁用= 「真正的」 收縮。
您的plunkr在控制檯中有錯誤,導致它無法運行。 – Blazemonger 2014-11-05 21:25:55