Ember.computed.defaultTo defaults to the value of the other property only once, and doesn't update when the other property changes. This seems very unexpected to me. Maybe we could add the ability to indicate that the default should update when the other property changes eg. defautlTo(defaultPath, bound).
Here's a JSBin that shows the unexpected behaviour.
Ember.computed.defaultTodefaults to the value of the other property only once, and doesn't update when the other property changes. This seems very unexpected to me. Maybe we could add the ability to indicate that the default should update when the other property changes eg.defautlTo(defaultPath, bound).Here's a JSBin that shows the unexpected behaviour.