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) { else if (this.visibleOptions) {
if (this.optionGroupLabel) { if (this.optionGroupLabel) {
value = []; value = [];
if (this.optionGroupLabel) { this.visibleOptions.forEach(optionGroup => {
value = []; for (let option of this.getOptionGroupChildren(optionGroup)) {
this.visibleOptions.forEach(optionGroup => { value.push(this.getOptionValue(option));
for (let option of this.getOptionGroupChildren(optionGroup)) { }
value.push(this.getOptionValue(option)); });
}
});
}
} }
else { else {
value = this.visibleOptions.map(option => this.getOptionValue(option)); value = this.visibleOptions.map(option => this.getOptionValue(option));