Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Feb 14, 2025
1 parent 269b5d1 commit 6fa078c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class MultiSelectComponent<TItem> extends CustomInputComponent<MultiSelec
}

ngOnChanges(changes: SimpleChanges): void {
if (this.options?.length && this?.ngModel?.selectedValues?.length) {
if (this.options?.length && this?.ngModel?.selectedValues?.length && !this.selectionSummary) {
this.updateSelectionSummary((this.ngModel.selectedValues || []).map(o => this.value(o)));
}
}
Expand Down

0 comments on commit 6fa078c

Please sign in to comment.