mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-13 08:32:26 +03:00
Added fix for #732
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -906,8 +906,8 @@
|
||||
isOptionSelected(option) {
|
||||
let selected = false
|
||||
this.valueAsArray.forEach(value => {
|
||||
if (typeof value === 'object') {
|
||||
selected = this.optionObjectComparator(value, option)
|
||||
if (typeof value === 'object' && this.optionObjectComparator(value, option)) {
|
||||
selected = true
|
||||
} else if (value === option || value === option[this.index]) {
|
||||
selected = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user