cibernox / cibernox/ember-power-select-typeahead

Documentation

Open
#28 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
37
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Hi there.

I like this component and would like to use it, however I find it difficult to achieve a couple of things without documentation:
- how to silently wait for "minimum search length" as on Demo page? I try to return empty array in the action:

``` javascript
search: function(term) {
if (term && term.length >= 3) {
return new Ember.RSVP.Promise((resolve, reject) => {
...
});
} else {
return [];
}
```

but obviously I see "No results found" below the text input while the length of the search is less than 3 symbols.

Contributor guide

Open the contributing guide

Research direction

Start with the Demo page and the search action shown in the issue, then trace how the component displays results while the term is shorter than three characters. Document the minimum-search-length behavior and the expected empty-state behavior, using the existing documentation location identified in the repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, frontend
Issue type
Documentation
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.