Skip to content

DateRange

date-range

Description

Allow user to select a date within in range from pickers.

Attributes

  • default: default value. If default is today then display a current date
  • $capture.format: Provide a format to be display within in date picker. YYYY-MM-DD
  • $capture.toolbar: true|false. Show a toolbar in date picker dialog or not.

Example

{
  "type": "string",
  "$capture": {
    "as": "date-range",
    "format": "YYYY-MM-DD",
    "toolbar": true
  },
  "default": "today",
  "title": "Date Range"
}