View source: R/block_elements.R
This multi-select menu will populate its options with a list of Slack users visible to the current user in the active workspace. A multi-select menu allows a user to select multiple items from a list of options. Just like regular select menus, multi-select menus also include type-ahead functionality, where a user can type a part or all of an option string to filter the list. To use interactive components, you will need to make some changes to prepare your app. Read our guide to enabling interactivity. Works with block types: Section Input
users_multi_select_menu( placeholder, action_id, initial_users = NULL, confirm = NULL, max_selected_items = NULL )
A plain_text only
An identifier for the action triggered when a menu option is selected. You can use this when you receive an interaction payload to identify the source of the action. Should be unique among all other action_ids in the containing block. Maximum length for this field is 255 characters.
A list of user IDs of any valid users to be pre-selected when the menu loads.
Specifies the maximum number of items that can be selected in the menu. Minimum number is 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.