Reputation: 21
Is it currently possible to use Ember.computed properties on objects properties in an array.
goalOneActive: Ember.computed.notEmpty('goals.[0].name')
Upvotes: 1
Views: 274
Reputation: 21
The correct syntax is
Ember.computed.notEmpty('goals.0.name')
Upvotes: 1