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
Right now the view containing the table is not defined as form.
There will be a save/submit button where I want to get all the feature items with changed values.
While implementing the logic for comparing the items ob the observable against the items in the store I realized that values already got updated without any change notification.
Is this by design and the usage of ngModel or am I doing something wrong?
I would have expected that the store.select always returns me a copy.
The text was updated successfully, but these errors were encountered:
This is a...
What toolchain are you using for transpilation/bundling?
ngc
Environment
NodeJS Version:
Typescript Version: 2.7.2
Angular Version: 6
@angular-redux/store version: 9.0.0
@angular/cli version: (if applicable) 6.1.2
OS: Win10
Link to repo showing the issus
(optional, but helps a lot)
Expected Behaviour:
Value binding with ngModel should not change object value in store.
Actual Behaviour:
I have a selection which is getting me an array from store
This is bound to a mat-table where the value cell is defined as input to allow the user to directly change the value.
Right now the view containing the table is not defined as form.
There will be a save/submit button where I want to get all the feature items with changed values.
While implementing the logic for comparing the items ob the observable against the items in the store I realized that values already got updated without any change notification.
Is this by design and the usage of ngModel or am I doing something wrong?
I would have expected that the
store.select
always returns me a copy.The text was updated successfully, but these errors were encountered: