Select
A dropdown list of options. Bind value with { "@path": "/x" } to read the chosen option. Give it a label.
Examples
Loading examples…
Props
| Prop | Type | Description |
|---|---|---|
checks | object[] | Validation rules. The control shows the first failed one |
value | string | Bind it with { "@path": "/x" } to read what the user entered |
options | string | object[] | Strings or { "value", "label", "description"? } |
placeholder | string | |
label | string | The visible label of the field. Always set it |
name | string | |
required | boolean | |
disabled | boolean | |
clearable | boolean | |
clearLabel | string | The label of the empty option |
searchable | boolean | |
icon | string | Lucide icon shown before the value |
block | boolean | Full width |
size | "sm" | "md" | "lg" | "xl" | Default "xl" |
pill | boolean | Default true |