In a component, if I want to add an user field to the form, I can easily use a field of type user
, and play with it as I want.
But what can I do if I need a field that stores an array of users?
The idea is, in the backend, to be able to add one or more objects of type user
to that field (let's call it, for example, collaborators
), and in the frontend to be able to manipulate and show the list of users selected for that field (in the collaborators example, it could be something like Collaborators: Sophia Smith, Emma Williams, Oliver Lee.).
Edit: same question extended to an array of objects of type contact, url, etc...
contact
of instead of using objects of typeuser
?