From 763546873b4017c4ebc7ff6f066dcc9446550bd0 Mon Sep 17 00:00:00 2001 From: "Arun Haridas (DECO)" Date: Fri, 13 Oct 2017 15:27:04 +0300 Subject: [PATCH] feat(typeahead): show options on focus and click (#2320) Workaround for the issue #1919 (typeahead): show available choices onFocus when minLength == 0 --- src/typeahead/typeahead.directive.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/typeahead/typeahead.directive.ts b/src/typeahead/typeahead.directive.ts index 7846e5de72..38c75a3fb6 100644 --- a/src/typeahead/typeahead.directive.ts +++ b/src/typeahead/typeahead.directive.ts @@ -222,6 +222,7 @@ export class TypeaheadDirective implements OnInit, OnDestroy { } } + @HostListener('click') @HostListener('focus') onFocus(): void { if (this.typeaheadMinLength === 0) {