This type of date picker is used for picking a single date (ex. assignment due date).
This component defines the standard interactions for the date picker component.
Usage Guidelines
Every instance of date selection should come from this component.
Features
This type of date picker is used for picking a single date (ex. assignment due date).
The single date picker consists of a specialized input field (including the calendar icon) and a calendar component.
By default the calendar is hidden until the user interacts with the date input field.
In the field label, provide formatting example (ex. mm/dd/yyyy).
Upon focus:
The calendar closes when:
If the user closes the calendar without making a selection, it reverts back to Default State.
Upon focus:
The calendar closes when:
Note that for the first and second points, focus remains on the field until the user clicks elsewhere.
This type of date picker is to be used for choosing a range with specific start and end dates (ex. course beginning and end).
The default state of the first date input (start) initially behaves the same way as a single date input field.
When the user interacts with the start date input field, it gains focus and the calendar appears.
Once the user has made a start date selection, focus should automatically switch to the end date input field. The calendar for the end date should open. Note the selected start date and prior dates are disabled (ex. gray colored dates before the 16th).
If the user refocuses on the start date after having selected both a start and end date:
Making a selection will cause focus to automatically shift once again to the end date picker and field.
If the user chooses a new start date before the previously chosen end date, the end date selection will be retained and the user will be automatically moved to the end date input field to confirm their selection.
If the user chooses a new start date after the previously chosen end date, the end date selection will clear and the user will be automatically moved moved to the end date input field to make a new end date selection.
This section pertains to manual entry of dates directly into the input field.
User completes manual entry by blurring the input field.
Error text below the field.
Initial rebranded version