The following entity is available under an experimental flag and its API and behavior are subject to change.
The ui5-input-table-suggest component is an input field with tabular suggestions support.
It displays suggestions in a table format with multiple columns, allowing users to
see more information about each suggestion before selecting it.
Similar to the OpenUI5 sap.m.Input with tabular suggestions, this component supports:
This component uses its own tabular suggestion mechanism instead of the standard
showSuggestions / suggestionItems from ui5-input. The tabular suggestions
are defined via:
suggestionColumns: Table header cells defining the columns
suggestionRows: Table rows with cells containing the suggestion data
Note: Autocomplete (typeahead) matches only the first column of suggestion rows.
Sets the maximum number of characters available in the input field. Note: This property is not compatible with the ui5-input type InputType.Number. If the ui5-input type is set to Number, the maxlength value is ignored.
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 HTML type of the component. Notes: - The particular effect of this property differs depending on the browser and the current language settings, especially for type Number. - The property is mostly intended to be used with touch devices that use different soft keyboard layouts depending on the given input type.
Defines the columns for the tabular suggestions. Use ui5-table-header-cell components to define the column headers. Note: The columns define the structure of the suggestion table header. Each column can have properties like width, minWidth, importance (for popin), and popinText.
Defines the rows for the tabular suggestions. Use ui5-table-row components with ui5-table-cell children to define each suggestion row. Note: The cells in each row should correspond to the columns defined in suggestionColumns.
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 component is in Information, Critical or Negative value state.
This sample demonstrates how to implement custom filtering logic for tabular suggestions. The application filters employees by name, department, or location as the user types.