You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/smardigo/pmci/form/approve-dialog.json

82 lines
1.9 KiB
JSON

{
"components" : [ {
"label" : "Entscheidung",
"mask" : false,
"tableView" : true,
"alwaysEnabled" : false,
"type" : "select",
"input" : true,
"key" : "request_decision",
"defaultValue" : "",
"validate" : {
"customMessage" : "",
"json" : "",
"required" : true,
"select" : false
},
"conditional" : {
"show" : "",
"when" : "",
"json" : ""
},
"data" : {
"custom" : "values = [\n { \"label\": \"Ablehnen\", \"value\": \"requestRejected\" }\n];\nif (true) {\n values.splice(1, 0, { \"label\": \"Freigeben\", \"value\": \"requestApproved\" });\n}",
"values" : [ ]
},
"valueProperty" : "value",
"selectThreshold" : 0.3,
"encrypted" : false,
"properties" : { },
"customConditional" : "",
"logic" : [ ],
"tags" : [ ],
"dataSrc" : "custom",
"searchEnabled" : false,
"tabs" : null,
"lazyLoad" : false,
"selectValues" : "",
"disableLimit" : false,
"sort" : "",
"reference" : false,
"reorder" : false
}, {
"label" : "Optionaler Kommentar",
"isUploadEnabled" : false,
"showWordCount" : false,
"showCharCount" : false,
"autofocus" : true,
"tableView" : true,
"alwaysEnabled" : false,
"rows" : 5,
"wysiwyg" : "",
"type" : "textarea",
"input" : true,
"key" : "createComment",
"defaultValue" : "",
"validate" : {
"unique" : false,
"json" : "",
"customMessage" : ""
},
"properties" : { },
"tags" : [ ],
"inputFormat" : "plain",
"spellcheck" : true,
"conditional" : {
"show" : "",
"when" : "",
"json" : ""
},
"encrypted" : false,
"logic" : [ ],
"customConditional" : "",
"tabs" : null,
"uploadUrl" : "",
"uploadOptions" : "",
"uploadDir" : "",
"reorder" : false
} ],
"display" : "form",
"configKey" : "approve-dialog",
"name" : "Dialog zur Freigabe"
}