Skip to main content

SuggestionItem

<ui5-suggestion-item>

The ui5-suggestion-item represents the suggestion item of the ui5-input.

Properties

additionalText

DescriptionDefines the additionalText, displayed in the end of the item.
Typestring | undefined
Defaultundefined
Since1.0.0-rc.15

text

DescriptionDefines the text of the component.
Typestring | undefined
Defaultundefined

Slots

No slots available for this component.

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.