Migrate away from select2 in ee/app/assets/javascripts/approvals/components/approvers_select.vue
In ee/app/assets/javascripts/approvals/components/approvers_select.vue
, we are initializing a select2
instance to render a group/user selector.
As part of this issue, we'd like to migrate this selector away from select2
.
Note that this selector supports server-side filtering. Also, this diverges from other select2
instances where the selection would be persisted in the dropdown itself. Instead, selected items are being added to a list below the dropdown. This might be a good opportunity to revisit the UX here and ensure this is Pajamas compliant.
Implementation plan
-
Determine what component(s) we should migrate to. -
Migrate away from select2
.
Edited by Paul Gascou-Vaillancourt