cibernox / ember-power-select

The extensible select component built for ember.
http://www.ember-power-select.com
Other
541 stars 379 forks source link

Navigable select with Ember Octane #1324

Open bracke opened 4 years ago

bracke commented 4 years ago

Hi

I'm trying to create a "Navigable select" in my octane app. I'm following the description in the cookbook (https://ember-power-select.com/cookbook/navigable-select).

The following lines for animated-options component fail:

{{on "click" (action select opt dropdown)}}
{{on "mouseover" (action highlight opt)}}

I get the following error:

An action could not be made forselectin <component:animated-options::ember2046>. Please confirm that you are using either a quoted action name (i.e.(action 'select')) or a function available in <ranking@component:animated-options::ember2046>.

I suppose the real question is how do I reference the EPS actions in an Octane way (?).

Any pointers?

cibernox commented 4 years ago

I'm fairly sure that is pretty outdated, but lately I'm extremely shot of time to update it. For starters, I'd use ember-animated instead of ember-fire now. I'll see if I can dedicate some time to make that example work, because I'm not too certain of what's the most idiomatic way of doing it in octane.