MantineSelect#
@palmyralabs/rt-forms-mantine · form/MantineSelect.tsx
Overview#
Single-select dropdown backed by a static options array. Use MantineServerLookup when options come from an API.
Props — ISelectDefinition & SelectProps#
Common field props plus:
| Prop | Type | Purpose |
|---|---|---|
options |
Array<{ value, label }> |
Dropdown entries |
Plus Mantine SelectProps (searchable, clearable, placeholder, …).
Example#
<MantineSelect
attribute="status"
label="Status"
searchable clearable
options={[
{ value: 'ACTIVE', label: 'Active' },
{ value: 'ARCHIVED', label: 'Archived' },
]}
/>