Fixed #4431
parent
97a294bfb5
commit
2341d1492b
|
@ -803,7 +803,7 @@ export default {
|
||||||
return this.isValidOption(option) && this.isSelected(option);
|
return this.isValidOption(option) && this.isSelected(option);
|
||||||
},
|
},
|
||||||
isSelected(option) {
|
isSelected(option) {
|
||||||
return this.isValidOption(option) && equals(this.modelValue, this.getOptionValue(option), this.equalityKey);
|
return equals(this.modelValue, this.getOptionValue(option), this.equalityKey);
|
||||||
},
|
},
|
||||||
findFirstOptionIndex() {
|
findFirstOptionIndex() {
|
||||||
return this.visibleOptions.findIndex((option) => this.isValidOption(option));
|
return this.visibleOptions.findIndex((option) => this.isValidOption(option));
|
||||||
|
|
Loading…
Reference in New Issue