Skip to content

schickm/ember-power-select-typeahead

 
 

Repository files navigation

Ember-power-select-typeahead

Naive implementation of a typeahead component on top of ember-power-select.

Demo

Usage

With simple strings:

{{#power-select-typeahead search=(action 'searchAsync') selected=selected onchange=(action (mut selected)) as |number|}}
  {{number}}
{{/power-select-typeahead}}

With complex objects:

{{#power-select-typeahead search=(action 'searchAsync') selected=selected extra=(hash labelPath="name") onchange=(action (mut selected)) as |user|}}
  {{user.name}}
{{/power-select-typeahead}}

About

Typeahead component built on top of ember-power-select

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 65.9%
  • HTML 29.8%
  • CSS 4.3%