Fixed #1342 - Filtering non existing item in dropdown [filter=true, group=true] and pressing key down generates error
parent
3c43849112
commit
2a2c97703c
|
@ -290,7 +290,7 @@ export default {
|
||||||
this.show();
|
this.show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
let nextOption = this.findNextOption(this.getSelectedOptionIndex());
|
let nextOption = this.visibleOptions && this.visibleOptions.length > 0 ? this.findNextOption(this.getSelectedOptionIndex()) : null;
|
||||||
if (nextOption) {
|
if (nextOption) {
|
||||||
this.updateModel(event, this.getOptionValue(nextOption));
|
this.updateModel(event, this.getOptionValue(nextOption));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue