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

Commit f244ee4

Browse files
committed
Fix: multiple choices highlighted at same time
1 parent 1bb4b20 commit f244ee4

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
@@ -128,7 +128,7 @@
128128
if (ctrl.resetSearchInput) {
129129
ctrl.search = EMPTY_SEARCH;
130130
//reset activeIndex
131-
if (ctrl.selected && ctrl.items.length) {
131+
if (ctrl.selected && ctrl.items.length && !ctrl.multiple) {
132132
ctrl.activeIndex = ctrl.items.indexOf(ctrl.selected);
133133
}
134134
}

0 commit comments

Comments
 (0)