@orderingstack/front-components-product-configurator 1.4.2-beta.2 → 1.4.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -8932,11 +8932,6 @@ function useMenuProduct(product, parentAttrs) {
|
|
|
8932
8932
|
const {
|
|
8933
8933
|
target: { checked, name: selCtx2, defaultValue: productId }
|
|
8934
8934
|
} = e2;
|
|
8935
|
-
for (const key of Object.keys(selected || {})) {
|
|
8936
|
-
if (key !== (product == null ? void 0 : product.selCtx) && (key == null ? void 0 : key.includes(product.selCtx)) && isRadio) {
|
|
8937
|
-
setValue(`selected.${key}`, false);
|
|
8938
|
-
}
|
|
8939
|
-
}
|
|
8940
8935
|
selectUnselectProduct(setValue, getValues, product.items, checked, product.state);
|
|
8941
8936
|
if (isRadio) {
|
|
8942
8937
|
console.log("handleOnInputChange radio", selCtx2, productId);
|