corejavascript / corejavascript/typeahead.js

Populate result in background if user is too quick

Open
#173 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
968
Forks
231
PR merge metrics
No merged PRs in 30d

Description

Working on a customer support platform where the users quickly type employee numbers, and typeahead fetches names (etc.). Often the users already know the employee numbers though, so they quickly type it and press TAB. If typeahead is not quick enough to fetch the data before focus is lost, nothing will get populated.

Is there a way to force a lookup, by input value, if the user leaves the typeahead-field and there is a fetch pending (using TAB in this case)?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.