I am trying to use Ember.Select
in my template. Ember.Select
works without any attribute | properties. But when I specify a attribute content, it gives me error as
Uncaught Error: assertion failed: an Ember.CollectionView's content must implement Ember.Array. You passed countries
My emblem template is as follows,
Ember.Select // Works fine
Ember.Select content=countries //Gives the listed error
The code in App.IndexController is,
countries : function () {
return ["India","US","England"]; // I have also tried passing the value in Ember.A(array_val)
}.property('')