UIDropdown
Simple Drop down component, which renders a select
-element containing option
-elements.
Since: 6.0.0 (3.9.0)
Properties
Name | Type | Default | Description |
options |
| Required - An array of Objects with "label" and "value" properties | |
header |
| Optional header property, renders an | |
disabled |
|
| Set to true to disable selection of the dropdown |
onChangeList |
| Required - Callback function when selected option changes. Selected item's value as parameter | |
isSelected |
| Required - Callback which should return true for the currently selected option, runs for each item when rendered and gets all options and current option as parameters. |
Example
Last updated