Questions tagged [ember-power-select]

15 questions
3
votes
1 answer

Ember Power Select - Label / Value

I can't seem to understand how to do the following looking over the docs for "ember power select". I have a model user: export default Model.extend({ "state": attr('string') }); Stored as a value in the DB is: NY for state I also have the…
Matt
  • 1,811
  • 1
  • 19
  • 30
3
votes
1 answer

Build Ember Power-Select component

Wondering if Ember power-select can be used as follows. I have a model that has related records. I'm trying to use PS to pick from one of that list in order to set another related record. To explain more fully, here is the final end state. (This…
dbinetti
  • 215
  • 3
  • 9
1
vote
1 answer

ember-bootstrap: after installing ember-power-select popovers not working correctly

I created a new project with ember-4.12.1 and installed ember-bootstrap (5.1.1). When I use the BsPopover component it is working as expected. After installing ember-power-select (6.0.1) the popover is not displayed near the corospending object. The…
1
vote
0 answers

Dropdown list in wormhole

I'm trying to set the value of a dropdown list, that is located inside a wormhole. This is the wormhole at pageload HTML
once I click one of ultiple dropdown menus, the…
1
vote
2 answers

How to open and close Ember Power Select from outside

I'm aware of this question, but is not complete. I want to open and close the dropdown from outside. I can dispatch a mousedown event when click on my wrapper component, so ember-power-select trigger opens!. But then if I click again it doesn't…
Gabi L
  • 193
  • 1
  • 8
1
vote
1 answer

Custom and first options in ember-power-select

I'm using Ember-power-select-with-create to make custom selections possible in my dropdowns. This is the power-select part in the .hbs file. {{#power-select-multiple-with-create options=options //array for prefill values …
1
vote
1 answer

Using Ember Power Select to set query param of object property

I am trying to use Power Select to create a drop down menu that, when an option is selected creates a query param of property of that option. I have most of the drop down box working but when I set the 'conID' query param, no matter what I try it…
Sorvah
  • 333
  • 1
  • 12
0
votes
2 answers

ember-power-select Custom Search Action and 'selected' with external data

Overview I'm using ember-power-select in a Ember.js 3.8 project - and it half works and half doesn't ! To make the question more readable I've put all the code at the bottom of the question. Situation The select is configured to fetch data from an…
glaucon
  • 8,112
  • 9
  • 41
  • 63
0
votes
2 answers

Finding an Ember-Data row created with 'createRecord' and with null id value?

I am using the following pattern in an Ember 3.8 project ... Situation When the user navigates to the route foo/add the model function in the Route definition uses createRecord to generate an empty foo record in the Data Store. The foo/add template…
glaucon
  • 8,112
  • 9
  • 41
  • 63
0
votes
2 answers

can multiSelect be Possible with ember=power-select?

I have tried everything with ember-power-select addon. But I'm not able to implement multi-select with ember-power-select. I need to select multiple options for a single group. Is it Possible?
0
votes
1 answer

Register custom event in ember-power-select( onmouseEnter, OnMouseLeave)

How may I register my custom event(onmouseEnter, OnMouseLeave) in Ember-power-select. By default it supports only: onblur, onchange, onclose, onfocus, oninput, onkeydown, onopen, scrollTo.
0
votes
1 answer

Customizing search box in ember powerselect

I want to add a search icon inside the Ember power-select input tab. I don't see any method so far to customize it. How do i do this?
0
votes
1 answer

Ember Power Select Issue

I'm having some issues with Ember Power Select. I'm able to deal with my data properly alone on the template, but for some reason power select won't let me get to any of the data from the fetch call in my component code…
Chris Johnson
  • 187
  • 1
  • 13
0
votes
1 answer

Ember power select to sort table results

I currently have a route servicerequests.index. In this route I am displaying a table of all service requests that I am getting via this call in my route: model() { return this.store.findAll('servicerequest').then(results =>…
spacerobot
  • 265
  • 1
  • 5
  • 23
0
votes
1 answer

Localize Ember-power-select "No results found" text

I am having a hard time finding out how to localize this string that appears to be coming from ember-power-select: "No results found" This string is nowhere to be found in our app's codebase. Searching around google did not yield any results, so,…
Devin Rhode
  • 23,026
  • 8
  • 58
  • 72