DiscipleTools / DiscipleTools/disciple-tools-theme

Ability to put multiple users in a User Select field

Open
#2,312 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
PHP
Stars
48
Forks
66
PR merge metrics
No merged PRs in 30d

Description

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:
image

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.