Migrate away from select2 in Admin Area > Groups > :group > Add user to group > Role selector
In the Admin Area > Groups > :group page, the Add user to group card contains a role selector to be assigned to the user being added to a group.
The selector currently uses select2
but doesn't leverage any of the fancy features it provides (multi-select, filtering, etc.). Let's migrate it to a simple Pajamas-compliant select
.
Implementation plan
-
app/views/admin/groups/show.html.haml
-
Replace .select2
with.gl-form-select.custom-select
.
-
Edited by Paul Gascou-Vaillancourt