diff --git a/src/dom_components/model/Components.js b/src/dom_components/model/Components.js index 229a1983c..8c41be558 100644 --- a/src/dom_components/model/Components.js +++ b/src/dom_components/model/Components.js @@ -22,7 +22,7 @@ const getComponentsFromDefs = (items, all = {}, opts = {}) => { if (id && all[id]) { result = all[id]; - tagName && result.set({ tagName }, { silent: true }); + tagName && result.set({ tagName }, { ...opts, silent: true }); } if (components) { @@ -30,7 +30,7 @@ const getComponentsFromDefs = (items, all = {}, opts = {}) => { if (isFunction(result.components)) { const cmps = result.components(); - cmps.length > 0 && cmps.reset(newComponents); + cmps.length > 0 && cmps.reset(newComponents, opts); } else { result.components = newComponents; }