@arsedizioni/ars-utils 21.2.135 → 21.2.137
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,6 +1037,7 @@ class SelectDialogComponent {
|
|
|
1037
1037
|
*/
|
|
1038
1038
|
notifyChanges(newTotal) {
|
|
1039
1039
|
this.dialogData.total = newTotal ?? 0;
|
|
1040
|
+
this.clearSelection();
|
|
1040
1041
|
this.changeDetector.markForCheck();
|
|
1041
1042
|
}
|
|
1042
1043
|
/**
|
|
@@ -1211,6 +1212,7 @@ class SelectDialogComponent {
|
|
|
1211
1212
|
*/
|
|
1212
1213
|
doLookup(params) {
|
|
1213
1214
|
if (this.dialogData.canLookup) {
|
|
1215
|
+
this.clearSelection();
|
|
1214
1216
|
this.lookupParams = params;
|
|
1215
1217
|
this.lookupParams.first = 0;
|
|
1216
1218
|
this.lookup.emit({ items: this.dialogData.items, params: this.lookupParams, owner: this });
|