mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-25 08:25:11 +00:00
User: hurairaidrees@gmail.com clicked save for playground/nutech/issue2/decisionbuttons-schema.json
This commit is contained in:
parent
ffd12badaf
commit
d0c640f89b
@ -1,34 +1,15 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "VerticalLayout",
|
||||||
"properties": {
|
"elements": [
|
||||||
"approved": {
|
{
|
||||||
"type": "object",
|
"type": "Button",
|
||||||
"properties": {
|
"title": "Approve",
|
||||||
"label": {
|
"propertyOrder": 1
|
||||||
"type": "string",
|
|
||||||
"default": "Approve"
|
|
||||||
},
|
|
||||||
"color": {
|
|
||||||
"type": "string",
|
|
||||||
"default": "green"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["label", "color"]
|
|
||||||
},
|
},
|
||||||
"rejected": {
|
{
|
||||||
"type": "object",
|
"type": "Button",
|
||||||
"properties": {
|
"title": "Reject",
|
||||||
"label": {
|
"propertyOrder": 2
|
||||||
"type": "string",
|
|
||||||
"default": "Reject"
|
|
||||||
},
|
|
||||||
"color": {
|
|
||||||
"type": "string",
|
|
||||||
"default": "red"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["label", "color"]
|
|
||||||
}
|
}
|
||||||
},
|
]
|
||||||
"required": ["approved", "rejected"]
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user