The ui5-combobox provides advanced keyboard handling.
[F4], [Alt]+[Up], or [Alt]+[Down] - Toggles the picker.
[Escape] - Closes the picker, if open. If closed, cancels changes and reverts the typed in value.
[Enter] or [Return] - If picker is open, takes over the currently selected item and closes it.
[Down] - Selects the next matching item in the picker.
[Up] - Selects the previous matching item in the picker.
[Page Down] - Moves selection down by page size (10 items by default).
[Page Up] - Moves selection up by page size (10 items by default).
[Home] - If focus is in the ComboBox, moves cursor at the beginning of text. If focus is in the picker, selects the first item.
[End] - If focus is in the ComboBox, moves cursor at the end of text. If focus is in the picker, selects the last item.
[Ctrl]+[Alt]+[F8] or [Command]+[Option]+[F8] - Focuses the first link in the value state message, if available. Pressing [Tab] moves the focus to the next link in the value state message, or closes the value state message if there are no more links.
Defines the selected item's value. Use this property together with the value property on ui5-cb-item to: - Select an item programmatically by its unique identifier - Handle items with identical display text but different underlying values - Submit machine-readable values in forms (the value property is submitted instead of the display text) When set, the ComboBox finds and selects the item whose value matches this property and whose text matches the ComboBox's value (display text). Note: This replaces the deprecated selected property on ui5-cb-item.
Determines the name by which the component will be identified upon submission in an HTML form. Note: This property is only applicable within the context of an HTML Form element.
Defines the value state message that will be displayed as pop up under the component. The value state message slot should contain only one root element. Note: If not specified, a default text (in the respective language) will be displayed. Note: The valueStateMessage would be displayed, when the ui5-combobox is in Information, Critical or Negative value state.
Use the value property on items and selected-value on the ComboBox to decouple the display text from the underlying selection value.
This is useful for form submission, programmatic selection, and handling items with identical display text.
When you have multiple items with identical display text (e.g., employees with the same name), use the value property to uniquely identify each item.
The additional-text property helps users distinguish between items visually.