pull/2306/head
Tuğçe Küçükoğlu 2022-03-11 14:13:33 +03:00
parent 3aa762bfee
commit bd7e46f66d
1 changed files with 5 additions and 8 deletions

View File

@ -560,14 +560,11 @@ export default {
else if (this.visibleOptions) {
if (this.optionGroupLabel) {
value = [];
if (this.optionGroupLabel) {
value = [];
this.visibleOptions.forEach(optionGroup => {
for (let option of this.getOptionGroupChildren(optionGroup)) {
value.push(this.getOptionValue(option));
}
});
}
this.visibleOptions.forEach(optionGroup => {
for (let option of this.getOptionGroupChildren(optionGroup)) {
value.push(this.getOptionValue(option));
}
});
}
else {
value = this.visibleOptions.map(option => this.getOptionValue(option));