open the file in a browser(chrome) treema/dev/demo.html
in the section, "Basics: A Contact Book", expand "Google" and add the field "friend" and choose false.
look at the Data tab, it shows: friend = false
go back to the Treema tab, update the friend value to true
go to the Data tab, the friend value was not updated
By looking at the source code, it seems that somehow, updating a BooleanNode does not trigger the refresh of the data of its parent node.
It might not be the best way to fix that but adding the following call in the method BooleanNode.toggleValue:
this.flushChanges();
seems to fix the issue.
To reproduce the issue:
By looking at the source code, it seems that somehow, updating a BooleanNode does not trigger the refresh of the data of its parent node. It might not be the best way to fix that but adding the following call in the method BooleanNode.toggleValue: this.flushChanges(); seems to fix the issue.