Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

Updating record excluding some attribute in ember data

$
0
0

Hi all,

In Edit display, I have one checkbox (model.enabled) and other text input(model.name,model.age) and save button.

On clicking save. I need to update all attribute(This work fine).

On changing checkbox, i want to only update model.enabled excluding model.name and model.age even though value for model.name and model.age is changed.

Currently, on updating model.enabled, ember data also update model.name and model.age if values are changed. I am using json api .

Thanks in advance.

Cheers, Santhosh

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles