Observe select with multiple="true"


#1

Hi!

Can somebody tell me how to observe a select with multiple=“true”? Here is my code:

{{view 'select' content=SpecificModel optionValuePath="content.Id" optionLabelPath="content.Name" class="stretch ed-lg-tab" multiple="true" selection=specificModel}}


App.SearchController = Ember.ObjectController.extend({
      onSpecificModelChanged: function (e, key) { 
           console.log(this.get(key));
      }.observes('specificModel')
});

Thanks in advance!


#2