AngularJs ui select 禁止search

阳光辉
2023-12-01

    https://angular-ui.github.io/ui-select/demo-disable-search.html

参考上面的文档

 <ui-select ng-model="aaaaa.selected" theme="bootstrap" search-enabled="false">
                                    <ui-select-match placeholder="">{{$select.selected.name}}</ui-select-match>
                                    <ui-select-choices repeat="item in data | filter: $select.search">
                                        <div ng-bind-html="item.name | highlight: $select.search"></div>
                                    </ui-select-choices>
                                </ui-select>

通过search-enabled来控制

 类似资料: