id option for {{power-select}}
See original GitHub issueI’d like to be able to give the <input>
an id in order to link it with a label:
<label for="my-input">...</label>
{{#power-select id="my-input" ... }}..{{/power-select}}
which will put the id onto the <input>
element. At the moment the id is put onto the component element (standard ember behavior, so maybe not id
but something that is passed along to the <input>
element).
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How to use it - Ember Power Select
The basic component usage is very simple. You must pass the component an onchange action, and either an options collection and/or a search...
Read more >Ember Power Select - How to Add a Custom Create Option
Ember Power Select - How to Add a Custom Create Option. Advanced select components are great for an enhanced User Experience. Giving the...
Read more >ember-power-select, How to set a preselected value in ember ...
For prefilled data, you need to specify the options property as well. From the docs: "You can provide both options and a search...
Read more >Apply tailwindss styles to ember-power-select - Design
Unfortunately, passing class option to the PowerSelect does nothing: ... role="button" tabindex="0" data-ebd-id="ember190-trigger" ...
Read more >ember-power-select-infinity: Docs & Reviews | Openbase
Some API's declare page=1, others take in the last items ID. Either way, power-select-infinity just provides a loadMore action where you can load...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Allowing the trigger to have an ID is relatively easy. However making the select gain the focus when a label is clicked is more complex than just adding an ID and will require some thought, but it’s certainly something I’d like to do.
Looks like this much was done in #799.