Select
Dropdown select. Shows a clear button when not required and a value is selected.
Selectiontype: selectaccepts inputrequires options
Data Properties
| Name | Type | Default | Description |
|---|
title | string | - | Field label |
placeholder | string | - | Placeholder text (default: 'Select an option') |
required | boolean | false | Whether the field is required |
options* | FieldOption[] | - | Array of {label, value, icon?} objects |
Config Options
| Name | Type | Default | Description |
|---|
variant | enum | default | default, boxed, minimal |
size | enum | md | sm, md, lg |
helpText | string | - | Help text below the select |
Validation Rules
| Name | Type | Default | Description |
|---|
customMessage | string | - | Custom error message |