What field type for selecting a larger amount of items?

I’m pretty sure someone will do that if you award it as a paid job (not me).

I was happy too early

        fields:
          recipients:
            label: Empfänger
            type: users
            query: 
              fetch: kirby.collection("recipients")
              text: "{{ user.content.company }} {{ user.name }} - {{ user.email }}"
              value: "{{ user.content._id }}"

But my collection returns a Users Object. I was using it with the checkboxes and other fields as well. Idea why that happens?

++ this works:

query: kirby.collection("recipients")
text: "{{ user.content.company }} {{ user.name }} - {{ user.email }}"

Yep, was going to say, there is not fetch… and no value. the user field always stores the user id.

Thank you once again for your fabulous and patient support even in tricky cases!

3 Likes