MultiComboBoxItem
<ui5-mcb-item>
The ui5-mcb-item represents the item for a ui5-multi-combobox.
Properties
selected
| Description | Defines the selected state of the component. |
| Type | boolean |
| Default | false |
| Deprecated | use value property of the item and selectedValue property of the ComboBox instead |
text
| Description | Defines the text of the component. |
| Type | string | undefined |
| Default | undefined |
additionalText
| Description | Defines the additional text of the component. |
| Type | string | undefined |
| Default | undefined |
| Since | 1.0.0-rc.11 |
value
| Description | Defines the value of the ui5-cb-item. Use this property to associate a unique identifier or machine-readable value with the item, separate from the display text. This enables: - Selecting items programmatically via selectedValue on the ComboBox - Submitting machine-readable values in forms - Distinguishing between items with identical display text Example: html <ui5-combobox selected-value="DE"> <ui5-cb-item text="Germany" value="DE"></ui5-cb-item> <ui5-cb-item text="France" value="FR"></ui5-cb-item> </ui5-combobox> |
| Type | string | undefined |
| Default | undefined |
| Since | 2.19.0 |
Slots
No slots available for this component.
Events
No events available for this component.
Methods
No methods available for this component.
CSS Parts
No CSS parts available for this component.
CSS Custom States
No CSS custom states available for this component.