
After setting up a DropdownRole you might want to edit it. This page will show you how to do that.
This section will cover:
- Editing the appearance
- Changing texts on it
- Changing the order of the options
- Editing the roles
- Adding / Removing Roles
- Editing existing Roles
Editing the appearance
Changing texts on the DropdownRole
The command /dropdownroles edit appearance
offers a wide range of text editing options, like:
- Editing the DropdownRoles placeholder
- Editing DropdownRoles settings
Changing the order of the options
/dropdownroles edit appearance
offers 2 ways of reordering options:
order
- Select one of 4 pre-defined orderscustom_order
- Define your own custom order
custom_order
is only recommended for experiences usersUsing custom_order
:
The command option requires you to give the current position of the option in the new order separated with a comma.
Let's take the following SelectMenu as an example:
Now, if you want to achieve the following SelectMenu as the result:
This would be your options value: 2, 1, 4, 3, 5
Editing the roles
Adding or Removing Roles
The command /dropdownroles edit roles
allows you to remove or add roles.
Adding Roles
When adding a role you will be promted with a samiliar looking modal (the same one is used in /dropdownroles advanced
)
If you need help with the form, please read the following page:
Removing Roles
After sending the command you will be prompted with the exact DropdownRoles you are targeting. Now simply select the option you want to remove.
Editing existing Roles
To edit an existing role in a DropdownRoles Setup use the following command:
You will be asked to give option
argument.
In the SelectMenu below you can see that the first option would be the number 1
After sending the command you will be prompted with a samiliar looking modal (the same one is used in /dropdownroles advanced
)
If you need help with the form, please read the following page: