Does payloadcms support nested select? #11085
antofopera
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, I want to get the ID of the author:
But this does not work, I had to get the whole
authorand extract theid.According to the docs and code:
It should have worked?
Edited: You can set
depth: 0to get only the ID of the related document, andpopulateto return only specific fields. But the nature of thisselectoption is still puzzling (it should supported nested selection, but it doesn't)?Beta Was this translation helpful? Give feedback.
All reactions