shx-3d-render
parent
6035acb39e
commit
6db9de04f1
|
@ -700,9 +700,15 @@
|
||||||
globalInputFormsObjValues[key][name] = JSON.stringify(filament);
|
globalInputFormsObjValues[key][name] = JSON.stringify(filament);
|
||||||
} else if(input.classList.contains('shx-ifc-swatchselect-input')) {
|
} else if(input.classList.contains('shx-ifc-swatchselect-input')) {
|
||||||
let name = input.id.replace('shx-', '');
|
let name = input.id.replace('shx-', '');
|
||||||
globalInputFormsObjValues[key][name] = input.value;
|
|
||||||
|
|
||||||
console.log("swatch selected", key, name, input.value );
|
let swatchID = name.slice(0, _name.indexOf('-'));
|
||||||
|
let swatchValue = name.slice(_name.indexOf('-') + 1);
|
||||||
|
|
||||||
|
globalInputFormsObjValues[key][swatchID] = swatchValue;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
console.log("swatch selected", key, swatchID, swatchValue );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue