Ability to put multiple users in a User Select field
Right now a user select can only have one user, and once a user is selected it isn't possible to remove one.
The api also returns an object instead of an array, limiting the value to 1 user:
Goals:
- a user select that can have 0, 1 or more users
- ability to configure the field to be limited to 1 user
- not breaking the many existing plugins and the mobile app that interact with the assigned_to field
Discussion:
- we could just use the connection field and limit the responses to users. This would leverage the user's contact instead of the user record.
- do we change the existing field type or do we introduce a new field type that returns an array instead of an object?
Can we change the name of the current User Select to User Assign or something like that, and it will continue to work as is. Then we implement a User Select V2 that is an array of objects.
For the front end we can move this over to the Web components and the multiselect can have an attribute that makes it call to the user select V2 but function the same way as the other connection fields on the front end.
Those sound like good ideas @micahmills. Another option to manage it could be to deprecate the current one rather than rename it, and create a new one like @micahmills mentioned above.