@sumaris-net/ngx-components 2.6.10 → 2.6.11

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
  }
@@ -21280,10 +21280,10 @@ class NamedFilterSelector extends AppForm {
21280
21280
  });
21281
21281
  }
21282
21282
  else {
21283
- result = {
21283
+ result = NamedFilter.fromObject({
21284
21284
  ...currentSelected,
21285
21285
  content: filterContent,
21286
- };
21286
+ });
21287
21287
  }
21288
21288
  const savedEntity = await this.dataService.save(result);
21289
21289
  this.setControlValue(savedEntity);