@sumaris-net/ngx-components 2.4.90-rc5 → 2.4.90

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.
@@ -4728,7 +4728,7 @@ class AppFormArray extends UntypedFormArray {
4728
4728
  // Clean all
4729
4729
  this.resize(0, { emitEvent: options?.emitEvent });
4730
4730
  // Recreate each control, with a default value
4731
- (values || null).forEach(value => {
4731
+ (values || []).forEach(value => {
4732
4732
  const control = this.createControl(value);
4733
4733
  // Apply parent disabled state, before to push it into the array
4734
4734
  // This is need to avoid parent form to be enabled, after calling AppFormArray.patchValue() (e.g. in table's row validator)
@@ -27367,8 +27367,9 @@ class AppTable {
27367
27367
  }
27368
27368
  async deleteSelection(event, opts) {
27369
27369
  const deleteCount = await this.deleteRows(event, this.selection.selected, opts);
27370
- if (deleteCount > 0)
27370
+ if (deleteCount > 0) {
27371
27371
  this.selection.clear();
27372
+ }
27372
27373
  return deleteCount;
27373
27374
  }
27374
27375
  /**