Skip to content

Commit 0de6c06

Browse files
committed
fixup! feat(cdk-experimental/ui-patterns): listbox ui pattern
1 parent 85568f4 commit 0de6c06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cdk-experimental/listbox/listbox.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ export class CdkOption {
129129
/** A unique identifier for the option. */
130130
protected id = computed(() => `${count++}`);
131131

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.
132134
/** The text used by the typeahead search. */
133135
protected searchTerm = computed(() => this.label() ?? this.element().textContent);
134136

0 commit comments

Comments
 (0)