The ld-optgroup
component is a subcomponent for ld-select
.
Please refer to the ld-select
documentation for usage examples.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
disabled |
disabled |
Disables the whole option group. | boolean |
undefined |
key |
key |
for tracking the node's identity when working with lists | string | number |
undefined |
label (required) |
label |
The name of the group of options. | string |
undefined |
ref |
ref |
reference to component | any |
undefined |
Built with StencilJS