Hi Mark,

I think you are passing in an object for ‘curItem’ is that right? Then you 
update one of its properties, and this doesn’t reflect.
Is that right?
The problem is, change detection works by checking if there is a new value. 
There is none, as curItem is still curItem, its contents have changed, but 
not the reference.
try something like this in your code:

this.curItem = {...this.curItem,updatedProp: "yay"}

Does that help you?
Regards
Sander
​

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to