We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85568f4 commit 0de6c06Copy full SHA for 0de6c06
src/cdk-experimental/listbox/listbox.ts
@@ -129,6 +129,8 @@ export class CdkOption {
129
/** A unique identifier for the option. */
130
protected id = computed(() => `${count++}`);
131
132
+ // TODO(wagnermaciel): See if we want to change how we handle this since textContent is not
133
+ // reactive. See https://github.com/angular/components/pull/30495#discussion_r1961260216.
134
/** The text used by the typeahead search. */
135
protected searchTerm = computed(() => this.label() ?? this.element().textContent);
136
0 commit comments