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
Changing an intermediate object in the data model breaks bindings from the data model to the UI (bindings from the UI to the data model still work though).
As both fields are linked to the same value in the data model, both fields and the data model should always be synchronized, even when changing the intermediate object data.object.
Actual behavior
As long as we do not click on the "Change object" button, everything is synchronized as expected.
However, after clicking on "Change object", no listener seems to be is added to the new object, and changing the value by clicking on "Change value" no longer updates the display. Typing in one of the fields still updates the data model but does not update the other field.
BTW: wanted to reproduce in plunker just to see how easy / hard it is to do, you can examine effects looking at the plunk, but IMO we need to improve this part.
b-laporte
pushed a commit
to b-laporte/hashspace
that referenced
this issue
Mar 15, 2014
Changing an intermediate object in the data model breaks bindings from the data model to the UI (bindings from the UI to the data model still work though).
HSP file
Expected behavior
As both fields are linked to the same value in the data model, both fields and the data model should always be synchronized, even when changing the intermediate object
data.object
.Actual behavior
As long as we do not click on the "Change object" button, everything is synchronized as expected.
However, after clicking on "Change object", no listener seems to be is added to the new object, and changing the value by clicking on "Change value" no longer updates the display. Typing in one of the fields still updates the data model but does not update the other field.
Hashspace version
Tested with commit 930d7b8.
The text was updated successfully, but these errors were encountered: