Todo Item

This field is used to create a todo item in the workflow and can be used to show additional fields if an item has been completed.

Example: If the todo item is to take the signature of a customer, the user can mark it as done and then an image field will appear where they can upload a picture of the signature.

{
"type": "todo-item",
"id": "toolingRequired",
"label": "Tooling Required",
"showInTable": true,
"isRequired": true,
"fields": [
{
"type": "text",
"label": "Component Name",
"id": "tooling-comp"
}
]
}

In the above example creates a todo item named Tooling Required, if it is marked as completed, it will make a text field appear where the user can input a Component Name.

Field Attributes

NameTypeDescription
idstringAssigns a name for the given field on the backend. This name can be used to refer this field in another field
labelstringAdds a label to the given field
isRequiredbooleanMakes a field mandatory
showInTablebooleanDisplays the field in a table after saving the entry