Typeahead event should be triggered on focus
See original GitHub issueCurrent Behavior:
Using async operation to bind items, when the user clicks on the ng-select
input, asyc
event isn’t triggered.
Expected Behavior It should be triggered on input focus itself.
Workaround:
(focus)="typeahead.emit()"
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Bootstrap - show all Typeahead items on focus - Stack Overflow
In other words, just trigger the event 'propertychange' on your desired event. And the Typehead autocomplete will open.
Read more >Why Type Ahead Text Control logs onChange Event twice if ...
I'm using Type Ahead Text Control from IBM BPM UI toolkit ; I notice it logs onChange Event twice if an item is...
Read more >jQuery UI Autocomplete focus Event - GeeksforGeeks
The jQuery UI Autocomplete focus event is used to trigger when the focus is moved to an item (not selecting). Syntax:.
Read more >Autocomplete Widget - jQuery UI API Documentation
Triggers a search event and invokes the data source if the event is not canceled. Can be used by a selectbox-like button to...
Read more >.focusout() | jQuery API Documentation
trigger ( "focusout" ) when no arguments are passed. The focusout event is sent to an element when it, or any element inside...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
<ng-select [items]="items$ | async" bindLabel="name" [loading]="loading" [typeahead]="itemsInput$" [(ngModel)]="selectedItems"> </ng-select>
@shyamal890 How could I implement workaround? by adding custom input?
Solved: (focus)=“itemsInput$.next()”
So
(focus)="typeahead.emit()"
is the way to do that or is there a better alternative?