Could you be more precise, please? What sort of values? Do you want to fetch children of other pages as well? Or do you mean store more than just the title? I’d store the URI, though, not a mixture of title and name.
Where is the point of doing that? You probably want to display these values in the text key, not the value key, right? Or at least that is what I would recommend. The URI is unique, so it makes sense to store it in the file.
autor:
label: Autor
type: select
options: query
query:
page: /autoren-und-veranstaltungen/autoren
fetch: children
value: '{{uri}}' #this gets saved to file
text: '{{title}}, {{firstname}}' #this is shown to user
yes i know,
but the client would sort the autor pages by the lastname (into the panel),
that’s why I separated the title field in a Name-Field and a Firstname-Field…
hmh maybe I must explain the clinet the title field is only for sorting
Otherwise, you will first have to split the field value to extract the title and then search by title. But if you like it complicated, then well … The client doesn’t even see in the Panel what gets stored in the file, unless he inspects the content files in the filesystem.