I have the following problem:
A form with a select field for selecting the category of a post. Let's say the post has category 100. In Ember inspector, this is shown as follows:
category: <App.Category:ember708:100>
When I save the post (via Ember Data 1.0.0 beta 2), the category suddenly changes to:
category: 100
And the value is no longer selected in the select list. It is cleared.
Code to save:
post.save().then(
function () {
alert("Save OK");
}
)
Any idea in which direction I need to search ... If I transition to another page and then go back to the edit screen, the values are all correct. The data is thus still correct in the model ...