cibernox / cibernox/ember-power-select-typeahead

allowClear seems to be broken

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

Description

Hello,

I am using both ember-power-select and ember-power-select-typehead.
In EPS `allowClear` works fine. The little cross is available and clicking it properly clear the selection.

However, in the typeahead version this parameter seems to have no effect. I've looked into the source
and the `allowClear` flag seems to be properly forwarded to EPS (see [this](https://github.com/cibernox/ember-power-select-typeahead/blob/master/addon/templates/components/power-select-typeahead.hbs#L52)).

Can you please advise? Thanks.

Contributor guide

Open the contributing guide

Research direction

Start with the typeahead component template at addon/templates/components/power-select-typeahead.hbs, especially the allowClear forwarding referenced in the issue. Compare its behavior with ember-power-select, where clearing works, and reproduce the typeahead case to identify why the cross does not appear or clear the selection. Done means allowClear works in the typeahead component as it does in EPS.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.