Reputation: 101
I'm using ui-select quite a bit in different ways on an app. The selects work but all have one thing in common where only the top choice is ever highlighted. I would really like to see the selected item highlighted if the list is reopened. Other than that is there a way to turn off the highlighting all together? Here is a sample:
<ui-select reset-search-input="false"
id="entryGenModuleType"
name="entryGenModuleType"
ng-model="deForm.moduleTypeId" theme="select2" append-to-body="true"
class="holdSelect"
ng-change="filterSavedEntries()"
ng-disabled=""
title="Select Module Type">
<ui-select-match allow-clear="true"
placeholder="">{{$select.selected.name}}</ui-select-match>
<ui-select-choices repeat=" type in selectionData.moduleTypes | orderBy:'name' | filter: { name: $select.search } ">
<span ng-bind-html="type.name"></span>
</ui-select-choices>
Upvotes: 0
Views: 1364
Reputation: 26
Have the same issue.
Removing attribute reset-search-input="false"
help for me
Upvotes: 1