@pepperi-addons/ngx-lib 0.3.15-loader.26 → 0.3.15-loader.27
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 +2 -12
- package/bundles/pepperi-addons-ngx-lib-form.umd.js.map +1 -1
- package/esm2015/form/dynamic-field-generator.component.js +3 -9
- package/fesm2015/pepperi-addons-ngx-lib-form.js +2 -8
- package/fesm2015/pepperi-addons-ngx-lib-form.js.map +1 -1
- package/form/dynamic-field-generator.component.d.ts +1 -3
- package/form/pepperi-addons-ngx-lib-form.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -3224,16 +3224,6 @@
|
|
|
3224
3224
|
this.formValueChange = new core.EventEmitter();
|
|
3225
3225
|
this.formFieldClick = new core.EventEmitter();
|
|
3226
3226
|
}
|
|
3227
|
-
Object.defineProperty(PepDynamicFieldGeneratorComponent.prototype, "controlContainer", {
|
|
3228
|
-
get: function () {
|
|
3229
|
-
return this._controlContainer;
|
|
3230
|
-
},
|
|
3231
|
-
set: function (val) {
|
|
3232
|
-
this._controlContainer = val;
|
|
3233
|
-
},
|
|
3234
|
-
enumerable: false,
|
|
3235
|
-
configurable: true
|
|
3236
|
-
});
|
|
3237
3227
|
Object.defineProperty(PepDynamicFieldGeneratorComponent.prototype, "field", {
|
|
3238
3228
|
set: function (value) {
|
|
3239
3229
|
var _this = this;
|
|
@@ -3249,11 +3239,11 @@
|
|
|
3249
3239
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
3250
3240
|
};
|
|
3251
3241
|
PepDynamicFieldGeneratorComponent.prototype.createControlDynamically = function () {
|
|
3252
|
-
if (this.
|
|
3242
|
+
if (this.controlContainer) {
|
|
3253
3243
|
var factory = this.getComponentFactory();
|
|
3254
3244
|
// const factory = this._resolver.resolveComponentFactory(PepTextboxComponent);
|
|
3255
3245
|
if (factory) {
|
|
3256
|
-
var componentRef = this.
|
|
3246
|
+
var componentRef = this.controlContainer.createComponent(factory);
|
|
3257
3247
|
//const componentRef: ComponentRef<PepTextboxComponent> = this._controlContainer.createComponent(factory);
|
|
3258
3248
|
this._containerRef = componentRef.instance;
|
|
3259
3249
|
this.setBaseProperties();
|