I need way to revert all changes for observable view model
Hello,
There observable does not store states so that it could be reverted to some previous state and bring back previous values to its fields. If reset is required, you should reset the fields the same way Zachary is doing.
Regards,
Ianko
Progress Telerik
This was a requirement for my application as well. Since there is no way to revert a model, I added a function to the model called "reset" that simply does this.set('fieldOne', null) for each item in the model.
The request to update an observable object with a JSON object would partially help with this.