Native model
workspace_form_submit
Declare a named workspace_form_submit value and reference it as workspace_form_submit.your_name. Models have no separate platform identity or lifecycle.
Topics: Surfaces
Fields
How a form submits: a GraphQL mutation written inside the element, or a server Lua action. It also says where to find errors and the saved record in the response.
componentRequired- Value
"form-submit"
confirmOptionalConfirmation message shown before submitting. Defaults to the workspace title followed by : confirm change. Leaving it out does not skip confirmation.
errorPrefixOptionalPrefix added to server error paths before they are matched to form inputs.
errorsRequiredPath in the response to the list of structured errors.
- Minimum length
1
handlerOptionalName of a handler declared in this workspace.
resultOptionalPath in the response to the saved record, used to confirm what was saved.
sourceOptional- Minimum length
0
typeRequiredgraphql to run the mutation written inside the element, lua to call an action handler.
- Allowed values
["graphql","lua"]- Minimum length
1
Only the fields listed here are accepted.