Skip to content

DateSelect

date-single

Description

Allow user to select a date from picker.

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-single",
    "format": "YYYY-MM-DD",
    "toolbar": true
  },
  "default": "today",
  "title": "Date Single"
}