ember-power-select-typeahead-with-create

0.2.0 • Public • Published

ember-power-select-typeahead-with-create

Build Status

This addon combines the functionality of ember-power-select-typeahead and ember-power-select-with-create.

ember install ember-power-select-typeahead-with-create

Usage

{{#power-select-typeahead-with-create
    search=(action 'searchAsync')
    extra=(hash labelPath='name')
    options=countries
    selected=selectedCountry
    onchange=(action (mut selectedCountry))
    oncreate=(action 'createCountry') as |country|
}}
  {{country.name}}
{{/power-select-typeahead-with-create}}

Styles

In your app's stylesheet, you must import the built-in styles in this order:

/*
your custom variables goes here
*/
 
/*if using a theme
@import 'ember-power-select/themes/material';
*/
 
@import 'power-select';
@import 'ember-power-select-typeahead';

Compatibility

  • Ember.js v2.18 or above
  • Ember CLI v2.13 or above

License

This project is licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i ember-power-select-typeahead-with-create

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

7.98 kB

Total Files

8

Last publish

Collaborators

  • topaxi