@arsedizioni/ars-utils 21.2.137 → 21.2.140

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.
@@ -1037,7 +1037,6 @@ class SelectDialogComponent {
1037
1037
  */
1038
1038
  notifyChanges(newTotal) {
1039
1039
  this.dialogData.total = newTotal ?? 0;
1040
- this.clearSelection();
1041
1040
  this.changeDetector.markForCheck();
1042
1041
  }
1043
1042
  /**
@@ -1131,6 +1130,7 @@ class SelectDialogComponent {
1131
1130
  this.selectionMasterChecked.set(false);
1132
1131
  this.selection().deselectAll();
1133
1132
  this.selectionInfo.set(null);
1133
+ this.changeDetector.markForCheck();
1134
1134
  }
1135
1135
  /**
1136
1136
  * Submit selection
@@ -1187,6 +1187,7 @@ class SelectDialogComponent {
1187
1187
  }
1188
1188
  if (this.dialogData.canLookup) {
1189
1189
  if (!e || e.key === 'Enter') {
1190
+ this.clearSelection();
1190
1191
  this.lookup.emit({ items: this.dialogData.items, filter: this.filterText, owner: this });
1191
1192
  }
1192
1193
  }