Waiting for action
Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Dropdown select.
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Selected value. |
onChange | (event) => void | — | Change handler. |
options | string[] | — | Options list. |
mode | "stacked" | "flagged" | "stacked" | Layout mode for label and control. |
labelPosition | "left" | "right" | "left" | Label placement in flagged mode. |
error | string | — | Validation message; sets aria-invalid when present. |
help | string | — | Supplementary help text linked via aria-describedby. |
required | boolean | false | Marks the field as required for assistive tech. |
FieldShell for label, help, error, and required wiring.htmlFor / id.