Table of Contents |
---|
Description
...
colour | Yellow |
---|---|
title | Ongoing |
...
Usage & Behavior
General guidelines
Structure
The drop-down consists of:
Trigger area
...
- selecting the drop-down trigger should open or close the options list. Includes:
a text area, with the currently-selected option(s) or default text.
a drop-down arrow.
Options list
...
- displays the list of available values, consisting of:
Options
. Must- must include a text label, but can additionally have an icon. Keep the labels short, because the list uses single lines only.
Selection indicator
. A- a blue check mark should be shown to the left of the selected option.
- Icon buttons
Action icons (optional)
. These- these add extra actions for each list option, and appear on hover. A tooltip describing the action should be displayed on
hover. Preceding label (optional). A label to the left of the trigger area, to inform the user about what is included in the options list.
...
hover.
Text labels | |
Text labels plus icons | |
Action icons |
...
Where there is no label, the default text will be Select a {NameOfEntity}. For example, Select a queueJob Title.
...
Content
A drop-down menu can (optionally) have a preceding label. Labels inform the user about what is included in the options list.
...
Users need to select one option exclusively from a short list . (Where where the user can select multiple options, see Multi-select drop-down below).
There should be a minimum of 3 options.
The user may select an item either by using the mouse and clicking, or by using the Up and Down keys to navigate between options and Enter to select.
On selection of an option, the options list will close.
The selected option will be shown in the trigger area.
...
Interaction
Interaction | Visual | Details | None | ||
---|---|---|---|---|---|
the hint text Select, or the hint text Select a {NameOfEntity}. See the Default State section above. Hover | |||||
Click the trigger area |
| ||||
Select an option | On selecting an option:
| ||||
Click anywhere outside of the drop-down |
| ||||
View options list with an existing selection |
|
...
Interaction | Visual | Details |
---|---|---|
Click the trigger area |
| |
Enter search |
| |
Select an option | Guy Hivroni (Unlicensed) please fix spelling | On selecting an option:
|
View options list with an existing selection |
|
...
The selected values are presented in the trigger area as read-only.
2 or more items are presented one after the other, separated by a comma and a space.
When the selected values exceed the size of the trigger area, the labels will be replaced by the total number of selections, for example “5 selected“.
An option can be selected by clicking on the checkbox or the label.
When space is limited and/or the user is expected to select several items, a Select All option can be added.
...
Interaction | Visual | Details |
---|---|---|
Click the trigger area |
| |
Enter Search |
| |
Select an option |
| |
Delete search string |
|
Validations and errors
Please refer to the Field validation page for more information.
A drop-down with a warning:
...