Skip to content

Date Picker

An input for selecting a date and/or time.

Basic Usage

Date format: YYYY-MM-DD

Beta

There is not currently an established Stash pattern for Date Time picker and while V-Calendar supports this it is not ready for general release within Stash. With UX approval, the following modes may be used only in specific internal or proof of concept scenarios (for example dispatch-web). These components are still being worked on and have a number of known limitations:

  • In dateTime mode, clicking a date in the popover causes the popover to close, even if a time hasn't been selected.
  • In time mode, the input is required and cannot be cleared due to bad handling of undefined time-only values.

Until this is resolved you should only use Date Picker in its basic date mode, unless working directly with the UX team.

Date With Time

Date format: YYYY-MM-DD

Time Only

Date format: YYYY-MM-DD