Skip to content

Commit 3442c0e

Browse files
authored
fix(material/paginator): opt-out of single-selection indicator (#26746)
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.
1 parent 96b8f25 commit 3442c0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/material/paginator/paginator.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
[aria-labelledby]="_pageSizeLabelId"
1717
[panelClass]="selectConfig.panelClass || ''"
1818
[disableOptionCentering]="selectConfig.disableOptionCentering"
19-
(selectionChange)="_changePageSize($event.value)">
19+
(selectionChange)="_changePageSize($event.value)"
20+
hideSingleSelectionIndicator>
2021
<mat-option *ngFor="let pageSizeOption of _displayedPageSizeOptions" [value]="pageSizeOption">
2122
{{pageSizeOption}}
2223
</mat-option>

0 commit comments

Comments
 (0)