The datepicker input is used for date data.
It returns a string in ISO 8601 date format. (e.g :2023-06-28T00:00:00.000Z
)
Datepicker input example
[
{
"type": "datepicker",
"title": "Datepicker input title",
"payloadName": "datepicker_input",
"defaultValue": "06.28.2023",
"helpText": "Datepicker input help text"
}
]
[
{
"type": "checkbox",
"title": "This example changes supported fields in the child input",
"payloadName": "parent"
},
{
"type": "datepicker",
"title": "Child input title",
"payloadName": "child",
"defaultValue": "06.28.2023",
"helpText": "Child input description",
"condition": {
"when": "parent",
"is": "true",
"then": {
"title": "New title",
"helpText": "New helpText",
"defaultValue": "01.25.2025"
}
}
}
]
Last updated