请参阅下面的代码,当通过在“Fr”中输入某些内容从输入中选择一个选项时,所有以法国开头的国家都会出现,但是在选择输入后,输入字段不会被清除
<ui-select multiple
ng-model="quote.targetLanguage"
reset-search-input="true"
theme="bootstrap"
ng-disabled="disabled"
close-on-select="false"
style="width: 800px;">
<ui-select-match placeholder="Select person...">
{{$item.language}}
</ui-select-match>
<ui-select-choices repeat="lang in controllersData.languages | filter: $select.search">
<div ng-bind-html="lang.language | highlight: $select.search"></div>
</ui-select-choices>
</ui-select>