From 41d95fd61f8ae8839353f490e14a2e85808028e5 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Wed, 6 Aug 2025 18:23:29 +0200 Subject: [PATCH] refactor(cdk-experimental/listbox): update visibility on value field The `value` field is an input, but is `protected` which isn't supported. --- src/cdk-experimental/listbox/listbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdk-experimental/listbox/listbox.ts b/src/cdk-experimental/listbox/listbox.ts index 243ca3e3f36f..2220202b28b5 100644 --- a/src/cdk-experimental/listbox/listbox.ts +++ b/src/cdk-experimental/listbox/listbox.ts @@ -161,7 +161,7 @@ export class CdkOption { protected id = computed(() => this._generatedId); /** The value of the option. */ - protected value = input.required(); + readonly value = input.required(); // TODO(wagnermaciel): See if we want to change how we handle this since textContent is not // reactive. See https://github.com/angular/components/pull/30495#discussion_r1961260216.