Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability for Typeahead to take an async-function #170

Open
benirose opened this issue Jan 31, 2018 · 1 comment · May be fixed by #171
Open

Add ability for Typeahead to take an async-function #170

benirose opened this issue Jan 31, 2018 · 1 comment · May be fixed by #171

Comments

@benirose
Copy link

I am using my own api client, but would like to use the typeahead to pull async results. Will you accept a PR with an added async-function property, which is a function that returns a promise, which resolves with data (as the getJSON method currently used for URL async does). I wanted to ask before I put in the work.

@benirose
Copy link
Author

Just kidding, I already did the work in a local copy of the component, so I may as well submit the PR 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant