This type of time picker is used for picking a single time (ex. assignment due time).
This component defines the standard interactions for the time picker component.
Usage Guidelines
Every instance of time selection should come from this component.
Features
This type of time picker is used for picking a single time (ex. assignment due time).
The single time picker consists of a specialized input field (including a time icon) and a dropdown component.
By default the dropdown is hidden until the user interacts with the time input field.
In the field label, provide formatting example (hh:mm am/pm).
Upon focus:
The dropdown closes when:
If the user closes the dropdown without making a selection, it reverts back to Default State.
Upon focus:
The dropdown closes when:
Note that for the first and second points, focus remains on the field until the user clicks elsewhere.
This type of time picker is to be used for choosing a range with specific start and end times (ex. course beginning and end).
The default state of the first time input (start) initially behaves the same way as a single time input field.
When the user interacts with the start time input field, it gains focus and the dropdown appears.
Note that once the user has made a start time selection, focus should automatically switch to the end time and the dropdown for the end time should open. Time selected in the start time and prior will not be in the dropdown.
The time list can be customized to show shorter or longer increments (ex. 50 minutes class sessions).
If the user refocuses on the start time after having selected both a start and end time:
Making a selection will cause focus to automatically shift once again to the end time picker and field.
If the user chooses a new start time before the previously chosen end time, the end time selection will be retained and the user will be automatically moved to the end time input field to confirm their selection.
If the user chooses a new start time after the previously chosen end time, the end time selection will clear and the user will be automatically moved moved to the end time input field to make a new end time selection.
This section pertains to manual entry of times directly into the input field.
User completes manual entry by clicking off the input field, pressing the “Enter/Return” key, or pressing the “Tab” key.
Error text below the field.
Initial version