From 1fb134659f5046e565106e1a2e0a589ccd50e831 Mon Sep 17 00:00:00 2001 From: sonallux Date: Fri, 19 May 2023 12:12:29 +0200 Subject: [PATCH] fix(material/list): input coercion does not working for `disableRipple` on list items 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 --- src/material/list/list-base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/list/list-base.ts b/src/material/list/list-base.ts index f62d34ee806b..75e849abee26 100644 --- a/src/material/list/list-base.ts +++ b/src/material/list/list-base.ts @@ -134,7 +134,7 @@ export abstract class MatListItemBase implements AfterViewInit, OnDestroy, Rippl !!this._listBase?.disableRipple ); } - set disableRipple(value: boolean) { + set disableRipple(value: BooleanInput) { this._disableRipple = coerceBooleanProperty(value); } private _disableRipple: boolean = false;