From 41f58342c2335cfe2be86c4b96d9fcbe307d422a Mon Sep 17 00:00:00 2001 From: Sarun Intaralawan Date: Thu, 6 Oct 2016 21:28:55 +0700 Subject: [PATCH] fix(typeahead): onFocus should not need any arguments --- components/typeahead/typeahead.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/typeahead/typeahead.directive.ts b/components/typeahead/typeahead.directive.ts index 527936eedf..44769bb18c 100644 --- a/components/typeahead/typeahead.directive.ts +++ b/components/typeahead/typeahead.directive.ts @@ -108,7 +108,7 @@ export class TypeaheadDirective implements OnInit { } } - @HostListener('focus', ['$event.target']) + @HostListener('focus') public onFocus():void { if (this.typeaheadMinLength === 0) { this.typeaheadLoading.emit(true);