I have a JSON data like below:
[
{ "Name": "Data 1", "ListData": [{"value":1, "display":"data 1-1"},{"value":2, "display":"data 1-2"}], "Value": []},
{ "Name": "Data 2", "ListData": [{"value":1, "display":"data 2-1"},{"value":2, "display":"data 2-2"}], "Value": []},
]
I would like to use this in a nested containers, with parent container use the parent data, and a child container use "Value" data of parent data. The child container will have a Select widget that use data from "ListData" of parent data.
However, in the child container, I have no way to get the data of the parent container, which is really weird design.
I only know 3 variables $item, $index and $collection. Is there anything like [$parent] variable that allow me to get the value of parent container?