Skip to content

[paginator] coerce boolean inputs #9625

@willshowell

Description

@willshowell

Bug, feature request, or proposal:

Bug

Expected behavior

hidePageSize and the upcoming showFirstLastButtons (#9603) should coerce their values.

<mat-paginator hidePageSize showFirstLastButtons>...</mat-paginator>

Current behavior

It is necessary to explicitly declare the boolean values: [hidePageSize]="true"

Motivation

Consistency with other component inputs

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions