Skip to content

Instantly share code, notes, and snippets.

@rhyek
Last active August 24, 2016 21:56
Show Gist options
  • Save rhyek/a5fbc12e2054e8fc115b50f5cf8d7ba5 to your computer and use it in GitHub Desktop.
Save rhyek/a5fbc12e2054e8fc115b50f5cf8d7ba5 to your computer and use it in GitHub Desktop.
ember-power-select bug
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'rhyek',
valueA: null,
optionsA: ['a', 'b', 'c']
});
{{#power-select
selected=valueA
options=optionsA
onchange=(action (mut valueA))
as |option|
}}
{{options}}
{{/power-select}}
{
"version": "0.10.4",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "2.6.2",
"ember-data": "2.7.0",
"ember-template-compiler": "2.6.2"
},
"addons": {
"ember-power-select": "1.0.0-beta.12"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment