Properties
Select a date from a calendar pop-up.
The available dates can be limited with min_date and max_date.
The input fields min_date, max_date and data represents dates. Use input_formats to specify date format handlers. Two special format handlers are available:
duration: Handles ISO 8601 durations e.g. P10D, -P5Y. Evaluates to todays date plus the duration.windows_filetime: Windows FILETIME format
type
Must be "DatePicker"
N/A
id
Unique ID within the flow
N/A
config.required
Must have a value when leaving the step. true/false
false
config.readonly
Can be modified. true/false
false
config.time_zone
Calendar time zone
Server default
config.input_formats
Parse initial value using these formats. String array.
["yyMMdd", "yyyyMMdd", "yyyy-MM-dd"]
config.output_format
Format output
yyyy-MM-dd
config.min_date
Min date. Expandable string. Date or duration.
config.max_date
Max date. Expandable string. Date or duration.
data
Pre-selected date. Expandable string. Date or duration.
{
"id": "account_expiration",
"type": "DatePicker",
"config": {
"required": true,
"readonly": false,
"time_zone": "Europe/Stockholm",
"input_formats": [
"yyyy-MM-dd",
"yyyyMMdd",
"yyMMdd",
"dd/MM/yyyy",
"windows_filetime",
"duration"
],
"output_format": "yyyy-MM-dd",
"min_date": "P0D",
"max_date": "9223372036854775807"
},
"data": "${flow.account_expiration}"
}