shx-3d-render

main
Jan Umbach 2024-06-21 21:53:14 +02:00
parent d514b41184
commit 56a8d52eea
1 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@
"name": "Gelee (Matt)",
"hex": "#ffcc00"
},
}
@ -242,7 +242,7 @@
for(let color in options) {
html += `
<input type="radio" id="${inputID}-${color}" form="product-form-${section_id}" name="properties[${inputName}]" value="${options[color].name}" ${inputVal === color ? 'checked' : ''}>
<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};"></label>
`;
}