shx-3d-render

main
Jan Umbach 2024-06-21 19:58:04 +02:00
parent fc0617f8e2
commit b10d2e59dd
1 changed files with 4 additions and 3 deletions

View File

@ -146,9 +146,10 @@
`;
for(let i = 0; i < options.length; i++) {
html += `
<input type="radio" id="${inputID}-${i}" form="product-form-${section_id}" name="properties[${inputName}]" value="${options[i]}" ${inputVal === options[i] ? 'checked' : ''}>
<label for="${inputID}-${i}" style="background-color: ${options[i]};"></label>
html += `<div>
<input type="radio" id="${inputID}-${i}" form="product-form-${section_id}" name="properties[${inputName}]" value="${options[i]}" ${inputVal === options[i] ? 'checked' : ''}>
<label for="${inputID}-${i}" style="background-color: ${options[i]};"></label>
</div>
`;
}