@sumaris-net/ngx-components 2.6.9 → 2.6.10-rc2

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.
@@ -2368,7 +2368,7 @@ class MatAutocompleteField {
2368
2368
  }
2369
2369
  clearValue(event) {
2370
2370
  this.writeValue(null);
2371
- event.stopPropagation();
2371
+ event?.stopPropagation();
2372
2372
  if (this.ionSearchbar) {
2373
2373
  this.ionSearchbar.value = null;
2374
2374
  }
@@ -21277,10 +21277,10 @@ class NamedFilterSelector extends AppForm {
21277
21277
  });
21278
21278
  }
21279
21279
  else {
21280
- result = {
21280
+ result = NamedFilter.fromObject({
21281
21281
  ...currentSelected,
21282
21282
  content: filterContent,
21283
- };
21283
+ });
21284
21284
  }
21285
21285
  const savedEntity = await this.dataService.save(result);
21286
21286
  this.setControlValue(savedEntity);