Intro
A multi input 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:
- 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:
- 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
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 with value help icon
Behavior and Interaction
Select/Enter Values
To add values to the multi input, 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 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 input with multiple tokens
Globalization and Localization
Multi input - 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)