shx-3d-render
parent
565919f873
commit
47345d4088
|
@ -147,7 +147,7 @@
|
|||
|
||||
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' : ''}>
|
||||
<input type="radio" id="${inputID}-${i}" form="product-form-${section_id}" name="properties[${inputName}]" value="HEX_${options[i]}" ${inputVal === options[i] ? 'checked' : ''}>
|
||||
<label for="${inputID}-${i}" style="background-color: ${options[i]};"></label>
|
||||
|
||||
`;
|
||||
|
|
Loading…
Reference in New Issue