Skip to main content

SuggestionItem

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

Properties​

text​

DescriptionDefines the text of the component.
Typestring
Default""

type​

DescriptionDefines the visual indication and behavior of the item. Available options are Active (by default), Inactive and Detail.
Note: When set to Active, the item will provide visual response upon press and hover, while when Inactive or Detail - will not.
Type"Inactive" | "Active" | "Detail" | "Navigation"
Default"Active"
Since1.0.0-rc.8

description​

DescriptionDefines the description displayed right under the item text, if such is present.
Typestring
Default""

icon​

DescriptionDefines the icon source URI.
Note: SAP-icons font provides numerous built-in icons. To find all the available icons, see the Icon Explorer.
Typestring
Default""

iconEnd​

DescriptionDefines whether the icon should be displayed in the beginning of the item or in the end.
Note: If image is set, the icon would be displayed after the image.
Typeboolean
Defaultfalse

image​

DescriptionDefines the image source URI.
Note: The image would be displayed in the beginning of the item.
Typestring
Default""

additionalText​

DescriptionDefines the additionalText, displayed in the end of the item.
Typestring
Default""
Since1.0.0-rc.15

additionalTextState​

DescriptionDefines the state of the additionalText.
Type"None" | "Success" | "Warning" | "Error" | "Information"
Default"None"
Since1.0.0-rc.15

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.