Skip to content

Commit 7635468

Browse files
Arun Haridas (DECO)valorkin
authored andcommitted
feat(typeahead): show options on focus and click (#2320)
Workaround for the issue #1919 (typeahead): show available choices onFocus when minLength == 0
1 parent 5613042 commit 7635468

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/typeahead/typeahead.directive.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ export class TypeaheadDirective implements OnInit, OnDestroy {
222222
}
223223
}
224224

225+
@HostListener('click')
225226
@HostListener('focus')
226227
onFocus(): void {
227228
if (this.typeaheadMinLength === 0) {

0 commit comments

Comments
 (0)