mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-16 09:10:33 +03:00
fix: allow typeAheadSelect only when option is selectable (#1529)
This commit is contained in:
@@ -67,7 +67,7 @@ export default {
|
||||
typeAheadSelect() {
|
||||
const typeAheadOption = this.filteredOptions[this.typeAheadPointer]
|
||||
|
||||
if (typeAheadOption) {
|
||||
if (typeAheadOption && this.selectable(typeAheadOption)) {
|
||||
this.select(typeAheadOption)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user