From cbddbbaca377362b6c9afd771831f5caf9db9809 Mon Sep 17 00:00:00 2001 From: Zach Arend Date: Tue, 7 Mar 2023 23:35:45 +0000 Subject: [PATCH] fix(material/paginator): opt-out of single-selection indicator Opt-out of the single-selection indicator for mat-select. Fix bug where text is truncated when there are 10 or more items per page. --- src/material/paginator/paginator.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/material/paginator/paginator.html b/src/material/paginator/paginator.html index ac36538c5b5c..954ecfb6e786 100644 --- a/src/material/paginator/paginator.html +++ b/src/material/paginator/paginator.html @@ -16,7 +16,8 @@ [aria-labelledby]="_pageSizeLabelId" [panelClass]="selectConfig.panelClass || ''" [disableOptionCentering]="selectConfig.disableOptionCentering" - (selectionChange)="_changePageSize($event.value)"> + (selectionChange)="_changePageSize($event.value)" + hideSingleSelectionIndicator> {{pageSizeOption}}