shx-3d-render
parent
f1824232c4
commit
d2a6089c9c
|
@ -237,7 +237,7 @@
|
|||
|
||||
|
||||
let html = `
|
||||
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}: <span>${SHX_getFilamentById(inputVal).name}</span></label>
|
||||
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}: <span class="shx-ifc-form_label_selected">${SHX_getFilamentById(inputVal).name}</span></label>
|
||||
<div id="${inputID}" class="shx-ifc-colorselect">
|
||||
`;
|
||||
|
||||
|
@ -478,6 +478,8 @@
|
|||
let input = target.previousElementSibling;
|
||||
input.checked = true;
|
||||
|
||||
target.closest('.shx-ifc-form_label').querySelector('.shx-ifc-form_label_selected').innerText = target.nextElementSibling.innerText;
|
||||
|
||||
this.renderView();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue