shx-3d-render
parent
cd6987b056
commit
a4070a6dbb
|
@ -186,6 +186,18 @@
|
|||
let name = inputs[i].id.replace('shx-', '');
|
||||
globalInputFormsObjValues[key][name] = inputs[i].value;
|
||||
}
|
||||
|
||||
let selects = this.content.querySelectorAll('select');
|
||||
for(let i = 0; i < selects.length; i++) {
|
||||
let name = selects[i].id.replace('shx-', '');
|
||||
let options = selects[i].querySelectorAll('option');
|
||||
for(let j = 0; j < options.length; j++) {
|
||||
if(options[j].selected) {
|
||||
globalInputFormsObjValues[key][name] = options[j].value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue