shx-3d-render
parent
4dd73f60a8
commit
467ab0d72b
|
@ -298,11 +298,14 @@
|
|||
|
||||
// Convert object to Map
|
||||
let optionsKeys = Object.keys(options);
|
||||
console.log("options", options);
|
||||
console.log("optionsKeys", optionsKeys );
|
||||
|
||||
|
||||
// Iterate over the Map
|
||||
for (let i = 0; i < optionsKeys.length; i++) {
|
||||
let color = optionsKeys[i];
|
||||
|
||||
|
||||
console.log(color);
|
||||
html += `
|
||||
<input type="radio" id="${inputID}-${color}" form="product-form-${section_id}" name="properties[${inputName}]" value="${options[color].name} #${color}" ${inputVal === color ? 'checked' : ''}>
|
||||
|
|
Loading…
Reference in New Issue