> For the complete documentation index, see [llms.txt](https://dev.ubidots.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.ubidots.com/dashboards-and-widgets/custom-ui/input-combo/multiple-selection-dropdown.md).

# Multiple selection dropdown

<figure><img src="/files/sc6Ep9Ya4l1lnXiPiGnv" alt=""><figcaption></figcaption></figure>

### Input combo type dropdown.checkbox <a href="#h_438b28582a" id="h_438b28582a"></a>

Displays a drop-down menu that lets users select multiple options.

## Usage example

```xml
<form>
    <inputcombo
        type='dropdown.checkbox'
        id='devices_from_list'
        label="Select multiple options"
        description="Select multiple devices to send data"
        placeholder='Choose multiple options'
        value="dev_1,dev_2"
    >
        <menu>
            <item id='dev_1'>device 1</item>
            <item id='dev_2'>device 2</item>
            <item id='dev_3'>device 3</item>
            <item id='dev_4'>device 4</item>
        </menu>
    </inputcombo>
</form>
```

## Properties

* `id`: Unique identifier for this field
* `label`: Header text
* `description`: Short descriptive text
* `placeholder`: Placeholder text
* `shape`: Used to align the label and the input field. Allowed values:
  * `compactVertical`
  * `wideVertical`
  * `wideHorizontal`
* `value`: Sets default values from the defined menu items. These values must match the `id` of one or more menu options. Otherwise, no default value is set and the placeholder is displayed. To set multiple default values, use the format `dev_1,dev_2`, with options separated by commas and no spaces.

## Option properties

`id`: Unique identifier for the selected value.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dev.ubidots.com/dashboards-and-widgets/custom-ui/input-combo/multiple-selection-dropdown.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
