Dropdown
Overview
Dropdowns present a list of options from which a user can select one option, or several. A selected option can represent a value in a form or can be used as an action to filter or sort existing content.
Example
Properties
Property | Description | Type | Values | Default | Required |
---|---|---|---|---|---|
label | The label for the dropdown | string | ✓ | ||
options | The options for the dropdown | { field: string; value?: string; selected?: boolean }[] | ✓ | ||
hideLabel | Hides the label | boolean | false | ||
disabled | Disables the dropdown | boolean | false | ||
required | Makes the dropdown required | boolean | false | ||
placeholder | The placeholder for the dropdown | string |