lundi 10 avril 2017

How to detect relation change in Ember.js after createRecord

I have Ember.computed("task.inputValues.[]", ..

Inside this method at certain condition, i trigger creation of new inputValues that have a task set with belongsTo. But after records and relations are successfully set in Ember database (using "createRecord"), "task.inputValues.[]" does not catch/trigger computed method to recalculate?




Aucun commentaire:

Enregistrer un commentaire