In my application, I get json objects from server then convert to Ember.Object and binding to html control. Users will be change some of field and submit to server. But I just only want to submit fields which has changed by user.
My pseude code:
var jsObj = myObj.getProperties(myObj.getListPropertyChanged);
Then, I convert jsObj to json and sent to server.
Does Ember.js prerelease support that?.
Currenty, I inject my code into Ember.Set function to track property changed, it’s work but I really don’t want do that.
I am looking new solution for that.
You can create a mixin for this sort functionality.
Ember.Mixin
Ember.Editable