Ember has method rollbackAttribute()
which is very similar to the default method rollbackAttributes()
. The difference is rollbackAttribute()
can be used to rollback ONLY specific model attribute. By default this method is not available and to use it you need to enable ds-rollback-attribute
and run the canary build as written here: https://docs.w3cub.com/ember/classes/ds.model/methods/#rollbackAttribute
Where can I enable the ds-rollback-attribute
and how can I ran the canary build
?
Aucun commentaire:
Enregistrer un commentaire