所以我有这个 ui-select 可以正常工作,但我希望下拉列表只显示或填充至少 2 个字符输入我要这样做吗?
<ui-select name="organization_chosen" ng-model="user.organization_chosen.selected" theme="selectize" class="form-control ng-pristine ng-invalid ng-invalid-required" style="margin-top: -5px; margin-left: 7px;" required >
<ui-select-match placeholder="Organization Name" style="position: static;">{{$select.selected.name}}</ui-select-match>
<ui-select-choices repeat="item in rea_list | filter: $select.search |limitTo: 20">
<div ng-bind-html="item.name | highlight: $select.search"></div>
</ui-select-choices>
</ui-select>
任何答案表示赞赏