We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typeahead setup
<input type="text" class="form-control" placeholder="Search for..." [typeahead]="getAsyncData(getContext())"(typeaheadOnSelect)="typeaheadOnSelect($event)" [(ngModel)]="searchTerm">
private getContext():any { return this; } private getAsyncData(context:any):Function { return function ():Promise<Object[]> { return context.searchService.searchCompaniesByName(context.addCompaniesModalSearchTerm.trim()).toPromise(); }; }
getAsyncData function would be constantly called as long as the page is open and no user interaction is on the page.
[Attached timeline results on chrome]
The text was updated successfully, but these errors were encountered:
This should be fixed with the new Observable implementation #584 .
Sorry, something went wrong.
48b8abb
No branches or pull requests
typeahead setup
<input type="text" class="form-control" placeholder="Search for..." [typeahead]="getAsyncData(getContext())"(typeaheadOnSelect)="typeaheadOnSelect($event)" [(ngModel)]="searchTerm">
getAsyncData function would be constantly called as long as the page is open and no user interaction is on the page.
[Attached timeline results on chrome]
The text was updated successfully, but these errors were encountered: