Skip to content

Commit

Permalink
Update typeahead.directive.ts
Browse files Browse the repository at this point in the history
Workaround for the issue valor-software#1919  (typeahead): show available choices onFocus when minLength == 0
  • Loading branch information
Arun Haridas (DECO) authored Jul 29, 2017
1 parent 46419e3 commit d3ccf9d
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 @@ -132,6 +132,7 @@ export class TypeaheadDirective implements OnInit, OnDestroy {
}
}

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

0 comments on commit d3ccf9d

Please sign in to comment.