I am passing the value of an "Ember.computed.alias()" to a component via an attribute called "disabled". The alias itself points to a computed property.
Within the controller the alias carries the correct value returned by the computed property. However, when I try to access the "disabled" attribute from within the component like this:
this.getAttr('disabled')
the value is always "undefined".
Should I be able to pass aliases of computed properties to components?
Any help would be appreciated.
Thanks.
Aucun commentaire:
Enregistrer un commentaire