Checkin.
From what I can tell, the bottleneck is in selectize itself. Will drop this and work on select2.
This commit is contained in:
parent
6f15bc940d
commit
f0167c858d
3 changed files with 14 additions and 24 deletions
|
@ -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);
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
},
|
||||
|
||||
|
|
Reference in a new issue