Time picker
A time picker helps users select a specific time.
This component requires the following JavaScript plugin:
Example
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024px- No results found
Keyboard Interactions
-
Down Arrow
When focus is on an Combobox Input, opens the Combobox List and moves focus on the currently selected that Combobox Item. Otherwise, moves focus to the first Combobox Item.
When focus is on an Combobox Item, moves focus to the previous focusable element.
When focus is on the first Combobox Item in a Combobox List, moves focus to the Combobox Input.
-
Up Arrow
When focus is on an Combobox Input, opens the Combobox List and moves focus on the currently selected that Combobox Item. Otherwise, moves to the last Combobox Item.
When focus is on an Combobox Item, moves focus to the next focusable element.
When focus is on the last Combobox Item in a Combobox List, focus moves to the Combobox Input.
-
Enter
When focus is on an Combobox Item, selects the current value and sets the cursor at the end of the selected value in the Combobox Input.
-
Escape
When the Combobox List is open, closes the Combobox List and moves focus to the Combobox Input.
Progressive Enhancement
Because this component heavily relies on Javascript, in environments where Javascript isn’t present or hasn’t yet loaded, this component falls back to the native <select>
element. When Javascript is loaded, the <select>
element will be hidden and all options will be passed to the Combobox component.
This ensures that users will always be able to interact with a functional component regardless of their connectivity or browser settings.