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