@@ -6715,7 +6715,7 @@
Array.from(el.options).forEach(function (option) {
_newArrowCheck(this, _this3);
- option.selected = arrayWrappedValue.includes(option.value || option.text);
+ option.selected = arrayWrappedValue.includes(option.value);
}.bind(this));
}
@@ -752,7 +752,7 @@
return value + '';
});
Array.from(el.options).forEach(option => {
@@ -87,6 +87,6 @@ function updateSelect(el, value) {
const arrayWrappedValue = [].concat(value).map(value => { return value + '' })
- option.selected = arrayWrappedValue.includes(option.value || option.text)
+ option.selected = arrayWrappedValue.includes(option.value)
})