@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.
- package/esm2020/src/app/core/form/entity/entity-editor-modal.class.mjs +1 -1
- package/esm2020/src/app/core/form/form.utils.mjs +2 -2
- package/esm2020/src/app/core/table/table.class.mjs +3 -2
- package/fesm2015/sumaris-net.ngx-components.mjs +3 -2
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +3 -2
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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 ||
|
|
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
|
/**
|