From what I can tell, the bottleneck is in selectize itself. Will drop
this and work on select2.
This commit is contained in:
Matthew Dillon 2015-11-13 08:16:53 -07:00
parent 6f15bc940d
commit f0167c858d
3 changed files with 14 additions and 24 deletions

View file

@ -12,10 +12,12 @@ export default Controller.extend({
},
updateStrainSelection: function(selection) {
console.log(selection);
this.set('selectedStrains', selection);
},
updateCharacteristicSelection: function(selection) {
console.log(selection);
this.set('selectedCharacteristics', selection);
},
}

View file

@ -10,16 +10,11 @@ export default Component.extend({
"update-strains": null,
"update-characteristics": null,
selectedStrains: null,
selectedCharacteristics: null,
updateStrains: function(selection) {
this.set('selectedStrains', selection);
this.attrs["update-strains"](selection);
},
updateCharacteristics: function(selection) {
this.set('selectedCharacteristics', selection);
this.attrs['update-characteristics'](selection);
},