diff --git a/src/ui/Component.js b/src/ui/Component.js index 56b6d3cd..72b32dcd 100644 --- a/src/ui/Component.js +++ b/src/ui/Component.js @@ -121,6 +121,10 @@ var Component = Base.extend(Callback, /** @lends Component# */{ } else { // isPane element = childPane._table; } + // Add child components directly to this component, so we can access + // it through the same path as in the components object literal that + // was passed. + Base.set(this, childPane._components); } else { element = this._input = create(meta.tag || 'input', { class: 'palettejs-input',