Skip to main content

Interface: SelectProps<T>

Defined in: components/Select/Select.tsx:83

Props for the Select component.

Extends​

  • Omit<RACSelectProps<T>, "style" | "children">

Type Parameters​

Type ParameterDefault type
T extends objectobject

Properties​

children?​

optional children?: ReactNode

Defined in: components/Select/Select.tsx:113

SelectItem children rendered inside the dropdown ListBox.


contextualHelp?​

optional contextualHelp?: ReactNode

Defined in: components/Select/Select.tsx:93

A <ContextualHelp> element rendered beside the label (the reference system's prop shape) — for the explanation too long for description.


description?​

optional description?: ReactNode

Defined in: components/Select/Select.tsx:95

Supplementary helper text linked to the field via aria-describedby.


errorMessage?​

optional errorMessage?: ReactNode

Defined in: components/Select/Select.tsx:102

Validation message shown when the field is invalid. Supply caller-localized copy (i18n rule / §6). Leave it out and the platform's own constraint message is shown instead — already localized, and the better copy for a required field.


label?​

optional label?: ReactNode

Defined in: components/Select/Select.tsx:88

Label displayed above the trigger button.


placeholder?​

optional placeholder?: string

Defined in: components/Select/Select.tsx:111

Placeholder shown in the trigger when no value is selected.

Ships a documented English fallback ('Select…') — the placeholder is supplementary hint text, not a flow-critical label (CONTRIBUTING §6 / ADR-001). Localized hosts should still supply their own copy.

Default​

'Select…'

Overrides​

Omit.placeholder