Can i refresh model without refresh template?


#1

hi i change my model and add items , i set the refreshModel: true, and that couse to the model to refresh but also the template, is there solution for the template not to refresh ?


#2

You could disconnect all references to the model in your template, short of that the template will update according to the properties it is bound to.


#3

The template will always be synchronized with the model. If you need to have two different versions of your data, then they both must exist out of the template.

You should check ember-buffered-proxy. As its name says, it allows you to buffer the changes to a model, applying or reverting them when you want.