I have data stored for the Treelist as an adjacency list in the database. I call the data using JSON and then, per the instructions in the documentation, I use the schema.parse function to then convert a nested JSON to a flat array.
The first value comes out and displays in the tree. When I click to get the child, nothing shows. The object structure is the same as the parent.
Here is the code:
JSON OF PARENT
JSON OF CHILD