mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 13:48:10 +00:00
User: nelson@spiffworkflow.org added process model file example/test/UI_SimpleForm.json
This commit is contained in:
parent
8e8b05068d
commit
f2878ec0a4
44
example/test/UI_SimpleForm.json
Normal file
44
example/test/UI_SimpleForm.json
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"schema": {
|
||||
"friends": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Friend",
|
||||
"properties": {
|
||||
"nick": {
|
||||
"type": "string",
|
||||
"title": "Nickname",
|
||||
"required": true
|
||||
},
|
||||
"gender": {
|
||||
"type": "string",
|
||||
"title": "Gender",
|
||||
"enum": ["male", "female", "alien"]
|
||||
},
|
||||
"age": {
|
||||
"type": "integer",
|
||||
"title": "Age"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"uiSchema": {
|
||||
"friends": {
|
||||
"items": {
|
||||
"nick": {
|
||||
"ui:autofocus": true,
|
||||
"ui:emptyValue": ""
|
||||
},
|
||||
"gender": {
|
||||
"ui:widget": "radio"
|
||||
},
|
||||
"age": {
|
||||
"ui:widget": "updown",
|
||||
"ui:title": "Years"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user