Hi,
I use a multiselect field to display some “Candidat” users.
This is my blueprint code for this:
proposalParticipantsUsers:
label: All registered participants except the author
width: 1/2
type: structure
fields:
participantUser:
label: Add a participant for this project
required: true
max: 1
width: 2/3
help: This list displays all registered candidats.
type: multiselect
options: query
query:
fetch: kirby.collection('candidats')
text: "{{ user.name }}"
value: "{{ user.id }}"
I set the value with "{{ user.id }}"
to store the user id in the txt file but it appears in the select box (see the screenshot below)
May I just display the user name and hide the user id? If yes how?