shx-3d-render

main
Jan Umbach 2024-06-22 13:43:23 +02:00
parent eabf7f5bfe
commit dac9a8ca5d
1 changed files with 1 additions and 0 deletions

View File

@ -299,6 +299,7 @@
// Iterate over the Map
for (let [color, value] of optionsMap) {
console.log(color);
html += `
<input type="radio" id="${inputID}-${color}" form="product-form-${section_id}" name="properties[${inputName}]" value="${options[color].name} #${color}" ${inputVal === color ? 'checked' : ''}>
<label for="${inputID}-${color}" style="background-color: ${options[color].hex};">