Intro
A multi-input field allows the user to enter multiple values, which are displayed as tokens.
To help the user enter a valid value, you can enable the suggestions feature and the value help option.
Multi-input
When to Use
Do
Use the multi-input field:
- To provide the value help option to help users select or search for multiple business objects.
- To let users select multiple ranges (with the value help).
- To enable users to add custom values.
Don't
Don’t use the multi-input field:
- To choose multiple options from a large list.
- If there is not enough space available on the screen.
- To choose only one option from a list.
Anatomy
- Tokens: Show individual selected values.
- Input field: Area for displaying tokens and typing text.
- Value help icon: Trigger for opening a value help dialog.
Anatomy of a multi-input field
Types
With Tokens
Predefined Tokens Only
Multi-Input with predefined tokens
Including Token Creation
Create token from value entered
With Value Help Icon
Basic multi-input field with value help icon
Behavior and Interaction
Select/Enter Values
To add values to the multi-input field, users can:
- Start typing and select a value from the dropdown list. The selected values appear as tokens.
- Type a text and press Enter to add a new value. This creates a new token with the typed text.
If there isn’t enough space to display all the tokens, an overflow button appears (n More, or n Items).
The user can only enter a value once. The multi-input field displays an error if the same token is selected twice.
Select/Enter Values
View/Adjust Selection
If tokens are hidden in the overflow, clicking n More or n Items displays all the selected values.
To remove an item from the selection, users can
- Click the “X” icon in the token.
- Focus on the token to select it and use the keyboard delete key to remove the token.
Multi-combo box with multiple tokens
Globalization and Localization
Multi-input field - LTR and RTL reading directions
Related Links
Components
Implementation
- Multi-Input
(UI5 Web Components documentation)
Specifications
- Multi-Input (visual design)
- Multi-Input (interaction design)
Components
Implementation
- Multi-Input
(UI5 Web Components documentation)