I know the field works as I’ve set it up. I just can’t seem to figure out the YAML syntax for ‘get all children of /teams and populate them in a select list.’
Wish I’d known Discourse is still active a few days ago when I wasted a lot of time looking for this same problem’s answer and posted a question on a closed issue before finding an answer on Stack Overflow of all places. Is this forum indexed by search engines?
$grav['admin']->enablePages(); seems to be the magic key here. I would love to see this documented as an official solution in the Collections chapter of Learn, but don’t feel qualified to volunteer as I don’t understand it properly. It seems to me it’s a reasonably common requirement.
Maybe my problem is that I never search with Google My wondering was only based on this post not coming up near the top when I looked for it. Did not investigate further, thanks anyway!