@pepperi-addons/ngx-lib 0.3.15-loader.14 → 0.3.15-loader.15
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/bundles/pepperi-addons-ngx-lib-form.umd.js +4 -2
- package/bundles/pepperi-addons-ngx-lib-form.umd.js.map +1 -1
- package/esm2015/form/dynamic-field-generator.component.js +5 -3
- package/fesm2015/pepperi-addons-ngx-lib-form.js +4 -2
- package/fesm2015/pepperi-addons-ngx-lib-form.js.map +1 -1
- package/package.json +1 -1
|
@@ -3250,7 +3250,9 @@
|
|
|
3250
3250
|
var factory = this.getComponentFactory();
|
|
3251
3251
|
var componentRef = this._controlContainer.createComponent(factory);
|
|
3252
3252
|
this._containerRef = componentRef.instance;
|
|
3253
|
-
this.
|
|
3253
|
+
if (this._resolvedComponent) {
|
|
3254
|
+
this.setControlVariables();
|
|
3255
|
+
}
|
|
3254
3256
|
// this.pepList = componentRef.instance;
|
|
3255
3257
|
}
|
|
3256
3258
|
else {
|
|
@@ -3324,7 +3326,7 @@
|
|
|
3324
3326
|
debugger;
|
|
3325
3327
|
Object.entries(this._field).forEach(function (prop) {
|
|
3326
3328
|
console.log('prop', prop);
|
|
3327
|
-
if (prop[1] !== undefined && _this.hasProperty(_this._resolvedComponent, prop[0])) {
|
|
3329
|
+
if (prop[1] !== undefined && _this.hasProperty(_this._resolvedComponent.propDecorators, prop[0])) {
|
|
3328
3330
|
_this._containerRef[prop[0]] = prop[1];
|
|
3329
3331
|
}
|
|
3330
3332
|
});
|