Skip to content

Commit

Permalink
feat(typeahead): show options on focus and click (#2320)
Browse files Browse the repository at this point in the history
Workaround for the issue #1919  (typeahead): show available choices onFocus when minLength == 0
  • Loading branch information
Arun Haridas (DECO) authored and valorkin committed Oct 13, 2017
1 parent 5613042 commit 7635468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/typeahead/typeahead.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export class TypeaheadDirective implements OnInit, OnDestroy {
}
}

@HostListener('click')
@HostListener('focus')
onFocus(): void {
if (this.typeaheadMinLength === 0) {
Expand Down

0 comments on commit 7635468

Please sign in to comment.