@sumaris-net/ngx-components 1.3.6 → 1.3.7
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/sumaris-net.ngx-components.umd.js +5 -5
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/form/form.class.js +6 -6
- package/fesm2015/sumaris-net.ngx-components.js +5 -5
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -19487,11 +19487,11 @@
|
|
|
19487
19487
|
if (this.debug)
|
|
19488
19488
|
console.debug('[form] Updating form (using entity)', data);
|
|
19489
19489
|
// Convert object to json, then apply it to form (e.g. convert 'undefined' into 'null')
|
|
19490
|
-
|
|
19491
|
-
|
|
19492
|
-
|
|
19493
|
-
|
|
19494
|
-
}
|
|
19490
|
+
this.form.patchValue(data, Object.assign({ emitEvent: false, onlySelf: true }, opts));
|
|
19491
|
+
//AppFormUtils.copyEntity2Form(data, this.form, {emitEvent: false, onlySelf: true, ...opts});
|
|
19492
|
+
/*if (!opts || opts.emitEvent !== true) {
|
|
19493
|
+
this.markForCheck();
|
|
19494
|
+
}*/
|
|
19495
19495
|
};
|
|
19496
19496
|
AppForm.prototype.reset = function (data, opts) {
|
|
19497
19497
|
if (data) {
|