Skip to main content

ComboBoxItemCustom

<ui5-cb-item-custom> | Since 2.24.0

The ui5-cb-item-custom is a combobox item component that allows placing custom content inside a combobox item. The text property is used for filtering and auto-complete. For highlighting functionality, see @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 the 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>
ParametersoriginalEvent: Event
The original event from the user interaction.
Since2.23.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.