-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
mat-paginator component should allow the option to hide the pageSize.
What is the current behavior?
This cannot be done using the mat-paginator component or even the MatPaginatorIntl service.
The service allows to change the label on the left of the pageSize yet it doesn't have an option to completely hide it and the number.
What is the use-case or motivation for changing an existing behavior?
It is desired to have a paginator with only 1 pageSize option so it is not necessary to show it.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material 2.0.0-beta.12
Angular 4.4.4
But probably all other versions are affected.
elmeerr, adam3039 and snsakib
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue