@decaf-ts/for-angular 0.0.87 → 0.0.88

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.
@@ -7558,6 +7558,7 @@ let CrudFieldComponent = class CrudFieldComponent extends NgxFormFieldDirective
7558
7558
  */
7559
7559
  async openSelectOptions(event, selectInterface) {
7560
7560
  if (selectInterface === SelectFieldInterfaces.MODAL) {
7561
+ this.updateOn = 'blur';
7561
7562
  event.preventDefault();
7562
7563
  event.stopImmediatePropagation();
7563
7564
  const loading = await this.loadingController.create({});
@@ -11904,11 +11905,14 @@ let ListComponent = class ListComponent extends NgxComponentDirective {
11904
11905
  if (!data)
11905
11906
  data = this.items;
11906
11907
  this.skeletonData = new Array(1);
11907
- this.refreshEvent.emit({
11908
- name: ComponentEventNames.Refresh,
11909
- data: data || [],
11910
- component: this.componentName,
11911
- });
11908
+ // Avoid emitting refresh events when the component is a child of a modal to prevent
11909
+ if (!this.isModalChild) {
11910
+ this.refreshEvent.emit({
11911
+ name: ComponentEventNames.Refresh,
11912
+ data: data || [],
11913
+ component: this.componentName,
11914
+ });
11915
+ }
11912
11916
  }
11913
11917
  /**
11914
11918
  * @description Emits a click event for a list item.