… the text part of the query is replaced by the the value part in the panel, so the uid is shown instead of the title. As mentioned when the identical field and its query are outside of the structure, it works and the title is shown.
I put your field from above into a fresh starter kit and everything works as expected, the only change I made was to the page because a Starterkit doesn’t have an artists page.
Does the title field exist? Maybe you named it differently?
What happens if you remove the text option? Title is the default, so it’s a bit weird that the uid is shown. The UID is the fallback value if no title exists.
Have you tested this in a fresh starterkit? All I can say that is works without any problem in my starter kit setup and have no idea how to reproduce your issue.
Any news for this ?
I have exactly the same problem… : in the pannel, the “structure” table show the value of the select.
Same code as Eliott
Kirby 2.5.10
This finally made me understand what the real problem was.
If the table shows the UID (i.e. the value instead of the text) after you have selected something and saved, that is the expected behaviour, because the table shows the value that is stored in the text file. The text/value thingy is only relevant for the select field options themselves, the option in the select should show the title of the option, while the UID of the selected option gets stored. So nothing wrong with that at all.
Select field within structure, in this case querying the children of the projects page in a starter kit on the home page