Skip to content

Commit 86f730f

Browse files
committed
only reset typeAhead if filtering is enabled
1 parent edd2fa3 commit 86f730f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Select.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,9 @@
986986
* @return {void}
987987
*/
988988
onSearchFocus() {
989-
this.typeAheadPointer = -1;
989+
if (this.searchable && this.typeAheadPointer !== undefined) {
990+
this.typeAheadPointer = -1;
991+
}
990992
this.open = true
991993
this.$emit('search:focus')
992994
},

0 commit comments

Comments
 (0)