@sumaris-net/ngx-components 2.4.44 → 2.4.45

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.
@@ -14192,7 +14192,7 @@ class AppForm {
14192
14192
  this.markForCheck();
14193
14193
  }
14194
14194
  }
14195
- reset(data = {}, opts) {
14195
+ reset(data, opts) {
14196
14196
  if (data) {
14197
14197
  if (this.debug)
14198
14198
  console.debug('[form] Resetting form (using entity)', data);
@@ -14201,7 +14201,7 @@ class AppForm {
14201
14201
  this.form.reset(json, { emitEvent: false, onlySelf: true });
14202
14202
  }
14203
14203
  else {
14204
- this.form.reset(null, { emitEvent: false, onlySelf: true });
14204
+ this.form.reset(undefined, { emitEvent: false, onlySelf: true });
14205
14205
  }
14206
14206
  if (!opts || opts.emitEvent !== true)
14207
14207
  this.markForCheck();