Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit f174721

Browse files
committed
Fix: multiple choices highlighted at same time
1 parent 94a59f3 commit f174721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
if (ctrl.resetSearchInput) {
127127
ctrl.search = EMPTY_SEARCH;
128128
//reset activeIndex
129-
if (ctrl.selected && ctrl.items.length) {
129+
if (ctrl.selected && ctrl.items.length && !ctrl.multiple) {
130130
ctrl.activeIndex = ctrl.items.indexOf(ctrl.selected);
131131
}
132132
}

0 commit comments

Comments
 (0)