To reproduce the effect I am seeing change the weight of one of the models by entering a different number, say “30” in the input field and pressing enter. The weight and formattedWeight change as expected.
Now press the “Reset weights” button, which sets the weight of each item in the controller to 50.
The weights in the output are updated correctly, the formattedWeight of the item which was previously set manually is not updated.
I can work around this using an observer and manually setting the formattedWeight property when the weight property changes. I would however expect that the property is updated automatically, being dependent on the weight property.
@YIk is right, you need to need to make the formattedWeight property writable because you have it bound to your text field (the Ember.TextField view will call set on that property as the text in the field changes).
If formattedWeight is just going to be a nicely printed version of weight, maybe you should consider adding .readOnly() to the end of the computed property definition.