【发布时间】:2016-05-09 18:38:40
【问题描述】:
我正在使用https://github.com/angular-ui/ui-select,并且我想做一些事件或选项,以便在使用过滤器时未找到结果时调用事件(打开模式)。
<ui-select ng-model="SelectedCustomer.selected" theme="select2">
<ui-select-match placeholder="Enter Customer">
{{$select.selected.NAME}}
</ui-select-match>
<ui-select-choices repeat="customer in Customers | filter: $select.search">
<div ng-bind-html="customer.NAME | highlight: $select.search"></div>
</ui-select-choices>
【问题讨论】:
标签: javascript angularjs ui-select