Meteor-Community-Packages / Meteor-Community-Packages/meteor-autocomplete

Default match on everything without token

Open
#94 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
350
Forks
106
PR merge metrics
No merged PRs in 30d

Description

When using autocomplete with a token, once the token is entered into the input/text field, all possible results (up to whatever limit was set) get returned and displayed in the drop down/up menu. Then at that point, the user has the option to narrow the search by continuing to type.

However, when not using a token, the only way to get any results at all is to start typing something that the user wants to match. I have a use case where I need all possible results (up to some limit) to display as soon as the user focuses on the the input/text field. Is this possible via some kind of configuration?

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by tracing the autocomplete focus and input-handling entry points, then inspect how token-based matching and result limits are configured. Done means focusing a tokenless input can display the available results up to the configured limit, while continued typing still narrows them.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.