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

property for "Amount" of results #88

Open
ttodua opened this issue Nov 13, 2020 · 3 comments
Open

property for "Amount" of results #88

ttodua opened this issue Nov 13, 2020 · 3 comments
Labels
good first issue Good for newcomers looking for community support Interested, but not something the maintainer expects to get to soon.

Comments

@ttodua
Copy link
Contributor

ttodua commented Nov 13, 2020

I've been reading through docs and couldn't find...
Where is the property, which says how many items are matching the current query?
i.e. MatchedAmount or whatever, which will provide that i.e. 4 (or whatever items were found in dropdown for the entered query).

Found method matchedItems in https://github.com/mattzollinhofer/vue-typeahead-bootstrap/blob/master/src/components/VueTypeaheadBootstrap.vue , in which method might MatchedAmount can be set, but i am not sure how to create a new property MatchedAmount exposed to outside world.

@mattzollinhofer
Copy link
Owner

Are you looking for maxMatches?

@ttodua
Copy link
Contributor Author

ttodua commented Nov 14, 2020

No, I think i have not explained. I dont want the input argument to define (maxMatches is just argument for VTB), I mean, when you search for any query and in dropdown it finds X matched amount. I want that X number. So, how many matches are being showing in dropdown (if i have maxMatches 1000, but it gets i.e. 4 results for query, that result is what I want to know).

@mattzollinhofer
Copy link
Owner

oh oh, I see. I can see that being helpful and I don't think that should be too hard to do. I need to look through issues and see what needs to be done next, but I'll definitely put this on the list.

@mattzollinhofer mattzollinhofer added good first issue Good for newcomers looking for community support Interested, but not something the maintainer expects to get to soon. labels Nov 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers looking for community support Interested, but not something the maintainer expects to get to soon.
Projects
None yet
Development

No branches or pull requests

2 participants