Gojs Panel itemTemplate binding issue in Pageflow

In this sample ( http://gojs.net/latest/samples/pageFlow.html ) after drag and droping node Drop node from pallete to drawing pane and if we hit on trianlge button it will add "Reason" to the node.

The issues is when drag and drop another Drop Node previous node data binded with new node like this.

If we again hit on triangle button in any one node, the “Reason” data is reflecting to both nodes like this

But I need to add data to one node without reflecting to other nodes. Is that possible?

Ah, that’s a bug in the Page Flow sample. We forgot to set Model.copiesArrays and Model.copiesArrayObjects to true. You can do that in the JSON-formatted text:

{ "copiesArrays": true,
  "copiesArrayObjects": true,
  "nodeDataArray": [

Or you can do that programmatically: http://gojs.net/latest/api/symbols/model.html#copiesArrays