formio
Version:
The formio server application.
77 lines (75 loc) • 1.36 kB
JavaScript
;
module.exports = {
initial: [
{
"input": true,
"tableView": true,
"inputType": "number",
"label": "number",
"key": "number",
"placeholder": "",
"prefix": "",
"suffix": "",
"defaultValue": "",
"protected": false,
"persistent": true,
"validate": {
"required": false,
"min": "",
"max": "",
"step": "any",
"integer": "",
"multiple": "",
"custom": ""
},
"type": "number",
"tags": [],
"conditional": {
"show": "",
"when": null,
"eq": ""
}
}
],
update: [
{
"input": true,
"tableView": true,
"inputType": "number",
"label": "number",
"key": "number",
"placeholder": "",
"prefix": "",
"suffix": "",
"defaultValue": "",
"protected": false,
"persistent": true,
"validate": {
"required": false,
"min": 0,
"max": "",
"step": "any",
"integer": "",
"multiple": "",
"custom": ""
},
"type": "number",
"tags": [],
"conditional": {
"show": "",
"when": null,
"eq": ""
}
}
],
fail: {
data: {
number: -1
}
},
pass: {
data: {
number: 2
}
}
};