We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a335b09 commit 192e0d4Copy full SHA for 192e0d4
src/element/get-params.js
@@ -70,6 +70,9 @@ function getParams(element) {
70
if (!allowedParams.includes(name)) return;
71
const value = formatValue(attr.value);
72
if (passedParams[name] && modulesParamsList.includes(attr.name)) {
73
+ if (passedParams[name].constructor !== Object) {
74
+ passedParams[name] = {};
75
+ }
76
passedParams[name].enabled = value;
77
} else {
78
passedParams[name] = value;
0 commit comments