Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 0d8e1ad

Browse files
committed
Added a comment to the typeahead clarifying that this is a place the kicks off a subscription
Clarification
1 parent fb366ce commit 0d8e1ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/components/inputs/typeahead/typeahead.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class TypeaheadComponent<T> extends ValidatedInputComponent<T> implements
130130
return;
131131
}
132132
const loadRequest: Observable<T[]> = this.loadItems(search);
133+
// triggers the subscription
133134
this.busy.waitOn(loadRequest).subscribe(data => {
134135
this.list.open();
135136
this._visibleItems.next(data);

0 commit comments

Comments
 (0)