shx-3d-render

main
Jan Umbach 2024-06-15 15:39:34 +02:00
parent cd6987b056
commit a4070a6dbb
1 changed files with 12 additions and 0 deletions

View File

@ -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;
}
}
}
}
}