mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-24 19:38:24 +00:00
33 lines
813 B
JSON
33 lines
813 B
JSON
{
|
|
"title": "Dropdown list",
|
|
"description": "A dropdown list with options pulled form existing Task Data. IMPORTANT - Add 'fruits' to Task Data before using this component!!!",
|
|
"type": "object",
|
|
"required": [
|
|
"firstName"
|
|
],
|
|
"properties": {
|
|
"firstName": {
|
|
"type": "string",
|
|
"title": "First name",
|
|
"default": "Chuck"
|
|
},
|
|
"done": {
|
|
"type": "boolean",
|
|
"title": "Done?",
|
|
"default": false
|
|
},
|
|
"delivery_date": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"title": "Preferred Delivery Date",
|
|
"validationErrorMessage": "Date must be today's date or later"
|
|
},
|
|
"favoriteFruit": {
|
|
"title": "Select your favorite fruit",
|
|
"type": "string",
|
|
"anyOf": [
|
|
"options_from_task_data_var:fruits"
|
|
]
|
|
}
|
|
}
|
|
} |