Forms and controls
Listbox
No summary has been written for Listbox. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.Public export
typescript
import { Listbox } from '@happyvertical/smrt-ui/forms';- Import path
@happyvertical/smrt-ui/forms- Props
- 8
- Props described
- 8 of 8
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
optionsControlOption[]YesArray of options to select from.valuestring | numberNoCurrently selected option value (bindable).labelstringYesAccessibility label for the listbox.namestringNoHTML form field name.disabledbooleanNoWhether the listbox is disabled.interactionControlInteractionOptions | falseNoInteraction options or false to disable all.onvaluechange(value: string | number) => voidNoCallback when the selected value changes.classstringNoCSS class to apply to the listbox container.Bindable state
This component has no bindable public state.
Callback events
onvaluechange(value: string | number) => void