Skip to content

Switch role dropdown to simple select

Lukas 'ai-pi' Eipert requested to merge 373858-leipert-role-dropdown into master

What does this MR do and why?

In order to get rid of our select2 behaviors, this moves a role selector dropdown to be a Pajamas Compliant "normal" dropdown.

Please note that the user selector above it is still select2 based, but we have a separate issue for that: #374007 (closed)

Screenshots or screen recordings

Before After
Screenshot_2022-09-30_at_12.43.54 Screenshot_2022-09-30_at_12.43.18
Screenshot_2022-09-30_at_12.43.50 Screenshot_2022-09-30_at_12.43.29

How to set up and validate local

  1. Go to Admin Area > Groups > :group and use the role selector to select a role for a user.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #373858 (closed)

Edited by Lukas 'ai-pi' Eipert

Merge request reports