mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
typeahead select only if valid
This commit is contained in:
@@ -246,7 +246,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
typeAheadSelect() {
|
typeAheadSelect() {
|
||||||
|
if( this.filteredOptions[ this.typeAheadPointer ] ) {
|
||||||
this.select( this.filteredOptions[ this.typeAheadPointer ] );
|
this.select( this.filteredOptions[ this.typeAheadPointer ] );
|
||||||
|
}
|
||||||
this.search = "";
|
this.search = "";
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user