shx-3d-render
parent
d514b41184
commit
56a8d52eea
|
@ -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>
|
||||
`;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue