Skip to main content

ComboBoxItemCustom

<ui5-cbi-custom> | Since 2.24.0

The ui5-cbi-custom is type of combobox item, that can be used to place combobox items with custom content in the combobox. The text property is considered for filtering and autocomplete. In case the user needs highlighting functionality, check "@ui5/webcomponents-base/dist/util/generateHighlightedMarkup.js"

Properties

text

DescriptionDefines the text of the component. Used for filtering, autocomplete, and mobile rendering.
Typestring | undefined
Defaultundefined

value

DescriptionDefines the value of the component. Used for programmatic selection via selectedValue property.
Typestring | undefined
Defaultundefined

Slots

default

DescriptionDefines the content of the component.
TypeArray<Node>

Events

click

DescriptionFired when the component is activated either with a mouse/tap or by using the Enter or Space key.
Note: The event will not be fired if the disabled property is set to true.
TypeCustomEvent<ListItemBaseClickEventDetail>
Parametersitem: ListItemBase
The activated item.
originalEvent: Event
The original event from the user interaction.
Since2.22.0
BubblesYes
CancelableNo

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.