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 way to include total number of results (ignoring limit) #198

Open
isaacniebeling opened this issue Feb 28, 2019 · 1 comment
Open

Add way to include total number of results (ignoring limit) #198

isaacniebeling opened this issue Feb 28, 2019 · 1 comment

Comments

@isaacniebeling
Copy link

It would be nice to be able to add the number of total results available; in our case, hitting Enter will do a complete search, but we only show the top 10 results in typeahead. If there are 25 results, we'd like to be able to say, in the footer template, for example, "25 results available; press enter to see all" (or whatever other configurable text we'd like). Right now, there doesn't even appear to be a way to see how many total suggestions there were.

@Chealer
Copy link

Chealer commented Jul 30, 2021

This is a good idea, and I would go further and say I for one would appreciate the ability to open a full list in a larger widget (like a Twitter Bootstrap modal).

But it may be a good start/compromise to start by lazy loading results, as @vikashgoyal requested in ticket #1556 of Twitter's Typeahead.js.

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

No branches or pull requests

2 participants