MuiSelect#

@palmyralabs/rt-forms-mui · form/MuiSelect.tsx

Overview#

Single-select dropdown backed by a static options array — MUI Select + MenuItem. For server-sourced options use MuiServerLookup.

Props — ISelectDefinition & SelectProps#

Common field props plus:

Prop Type Purpose
options Array<{ value, label }> Dropdown entries

Plus MUI SelectProps (variant, multiple, native, displayEmpty, …).

Example#

<MuiSelect
  attribute="status"
  label="Status"
  variant="outlined"
  options={[
    { value: 'ACTIVE',   label: 'Active' },
    { value: 'ARCHIVED', label: 'Archived' },
  ]}
/>