Skip to content

Commit 31ffc5b

Browse files
authored
docs(material/table): Correct checkbox label on select all checkbox (#22748)
Change the label on the "select all" checkbox to read "deselect" and "select" correctly
1 parent c4f836c commit 31ffc5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components-examples/material/table/table-selection/table-selection-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class TableSelectionExample {
5555
/** The label for the checkbox on the passed row */
5656
checkboxLabel(row?: PeriodicElement): string {
5757
if (!row) {
58-
return `${this.isAllSelected() ? 'select' : 'deselect'} all`;
58+
return `${this.isAllSelected() ? 'deselect' : 'select'} all`;
5959
}
6060
return `${this.selection.isSelected(row) ? 'deselect' : 'select'} row ${row.position + 1}`;
6161
}

0 commit comments

Comments
 (0)