You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this issue there's a problem with one-way binding of complex objects.
Angular doesn't detect changes that happen within an object.
There are two solutions... making a clone of the object with angular.copy or adding track by
@Component()
class MyComponent {
@Input('my-arr track by _id') myArr: [MyObj];
@Input('my-obj track by version') myObj: MyObj;
}
I tried applying the second solution using your decorators and it didn't work..
Is there a way to make it work?
The text was updated successfully, but these errors were encountered:
According to this issue there's a problem with one-way binding of complex objects.
Angular doesn't detect changes that happen within an object.
There are two solutions... making a clone of the object with
angular.copy
or addingtrack by
I tried applying the second solution using your decorators and it didn't work..
Is there a way to make it work?
The text was updated successfully, but these errors were encountered: