Skip to content

Commit 2af1e0a

Browse files
authored
fix(material/list): input coercion does not working for disableRipple on list items (#27126)
Fixes a bug that input coercion does not work for the `disableRipple` input on any list item because the setter in `MatListItemBase` still requires a `boolean` and not a `BooleanInput` value. Fixes #27125
1 parent 748f177 commit 2af1e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/list/list-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export abstract class MatListItemBase implements AfterViewInit, OnDestroy, Rippl
134134
!!this._listBase?.disableRipple
135135
);
136136
}
137-
set disableRipple(value: boolean) {
137+
set disableRipple(value: BooleanInput) {
138138
this._disableRipple = coerceBooleanProperty(value);
139139
}
140140
private _disableRipple: boolean = false;

0 commit comments

Comments
 (0)