SelectField Reference
Consulte esta subpágina para ver import, available props, exemplo de uso e controles vivos do component.
SelectField
Typed select field for short option lists.
Use when: Use when the option set is fixed and compact.
Import
import { SelectField } from "@components/index";Example
<SelectField id="status" label="Status" options={options} value={value} onChangeValue={setValue} />Available Props
labelstring
Optional field label.
optionsSelectFieldOption[]
Available options.
valuestring
Current selected value.
onChangeValue(value) => void
Selection callback.
Live Preview
Controls
Use the select itself to change between options.