-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I have the following code to create a new model:
testModel = this.emberSync.createRecord('test', {
email: this.get('email'),
name: this.get('name'),
});
testModel.emberSync.save();This works fine and the model gets saved to the server.
At a later time (after the save has been successfully completed) the user enters something and the model gets updated as follows:
testModel.set('name', 'anothername');
testModel.set('otherAttribute', 'otherValue');
console.log(testModel.get('isDirty')) //true
testModel.emberSync.save();Ember Inspector shows the new name, otherAttribute and isDirty is true. But no request gets sent to the server.
Removing ember-sync and it works fine.
Any idea what the issue could be?
Edit: Storing offline seems to work though.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels