Table of Contents |
---|
Description
...
State | Visual | |
---|---|---|
Regular | ||
Hover | ||
Active | ||
Disabled | ||
Read-Only | ||
Error | ||
Warning | ||
Focused | ||
Focused, Hover | ||
Focused, Active | ||
Focused, Disabled |
...
Clicking on the calendar Icon Button or any blank space will open the date picker menu.
The date picker menu will be closed:
when a date is selected, or
by clicking outside the date picker menu.
Validation and Errors
Please refer to Field Validation page for more information.
A date field with a warning will have an orange border and a warning icon, as displayed below:
...
A date field with an error will have a red border and an error icon, as displayed below:
...
Transitions
A slide down transition is used when the menu opens.
A swipe transition is used when pressing the left and right arrows to navigate between the months.
...
Keyboard | Date picker field | Date picker menu |
---|---|---|
Tab |
| Cycles through the different elements in the following order:
|
Shift + Tab |
| Reverses the order of navigation described for Tab. |
Space |
|
|
Enter | Applies the date. | Sets the currently-selected date and closes the menu. |
Esc | N/A | Closes the menu and returns the focus to the field, without applying any changes. |
Arrows |
|
|
...