Added a long running task to schema example

This commit is contained in:
Joel Collins 2019-06-18 15:56:02 +01:00
parent 54dcee0083
commit e91e58daa3
3 changed files with 47 additions and 19 deletions

View file

@ -60,27 +60,19 @@
]
},
{
"name": "Different form",
"isTask": false,
"name": "Task form",
"isTask": true,
"selfUpdate": true,
"route": "/do",
"submitLabel": "Do different things",
"route": "/task",
"submitLabel": "Start task",
"schema": [
[
{
"fieldType": "numberInput",
"placeholder": "Some integer",
"name": "val_int",
"label": "Number value",
"minValue": 0
},
{
"fieldType": "textInput",
"placeholder": "Some string",
"label": "String value",
"name": "val_str"
"placeholder": "",
"name": "run_time",
"label": "Run time (seconds)",
"minValue": 1
}
]
]
}
]