# Dropdown

[https://github.com/flamexdev/dsc-utils/blob/main/package/src/structures/dropdown.js](https://github.com/flamexdev/dsc-utils/blob/main/package/src/structures/dropdown.js)

{% tabs %}
{% tab title="ID" %}
| Type   | Description                                                       | Required |
| ------ | ----------------------------------------------------------------- | :------: |
| string | a developer-defined identifier for the button, max 100 characters |    Yes   |
{% endtab %}

{% tab title="options" %}
| Type                     | Description                       | Required |
| ------------------------ | --------------------------------- | :------: |
| array of DropdownOptions | the choices in the select, max 25 |    Yes   |

{% content-ref url="dropdownoption" %}
[dropdownoption](dropdownoption)
{% endcontent-ref %}
{% endtab %}

{% tab title="placeholder" %}
| Type   | Description                                                        | Required |
| ------ | ------------------------------------------------------------------ | :------: |
| string | custom placeholder text if nothing is selected, max 100 characters |    No    |
{% endtab %}

{% tab title="min" %}
| Type   | Description                                                               | Required |
| ------ | ------------------------------------------------------------------------- | :------: |
| Number | the minimum number of items that must be chosen; default 1, min 0, max 25 |    No    |
{% endtab %}

{% tab title="max" %}
| Type   | Description                                                       | Required |
| ------ | ----------------------------------------------------------------- | :------: |
| Number | the maximum number of items that can be chosen; default 1, max 25 |    No    |
{% endtab %}

{% tab title="disabled" %}
| Type    | Description        | Default | Required |
| ------- | ------------------ | ------- | :------: |
| boolean | disable the select | false   |    No    |
{% endtab %}
{% endtabs %}
