Form components
Dropdown
Single choice from a list, with optional async option loading.
Stores value | null (the selected option's value).
Preview
Live
Options
| Prop | Type | Default | Description |
|---|---|---|---|
| options | Option[] | — | Static list of { value, label, disabled? }. |
| loadOptions | (values) => Option[] | Promise<Option[]> | — | Load options dynamically (e.g. from an API). |
| placeholder | string | — | Placeholder when nothing is selected. |
| clearable | boolean | — | Allow clearing back to null. |
Dynamic options
Options frequently depend on another field (country → region). Drive them with a
propsDependsOn rule — see Dynamic props.