For my main navigation with dropdown feature I’m using a model with a tree structure. This works in Dato, but when I test in the CDA Playground, I only get one record returned.
The records contain a label and a link field. The label field is required. Because some records are titles for the dropdown.
Also I’m using draft/publish.
One last strange thing is that when I run the allModels-query, im my case the allMainNavigations. Dato gives me all the records.
What am I doing wrong?