Native model
workspace_form_field
Declare a named workspace_form_field value and reference it as workspace_form_field.your_name. Models have no separate platform identity or lifecycle.
Topics: Surfaces
Fields
A visible input in a form, bound to one path in the mutation or handler input.
childrenOptional- Minimum items
0- Maximum items
9223372036854776000
List items
All of these apply
componentRequired- Value
"form-field"
controlOptionalInput control to show. By default it is chosen from the input's type.
- Allowed values
["text","textarea","email","phone","password","number","toggle","select","record-picker","json"]
helpOptionalShort explanation shown with the input. Defaults to the schema's description when there is one.
labelOptionalLabel shown to users.
maximumOptionalHighest allowed number, inclusive, enforced by the server and the form.
maxItemsOptionalMaximum number of list items, enforced by the server and the form.
- Minimum
0
maxLengthOptionalMaximum text length, enforced by the server and the form.
- Minimum
0
minimumOptionalLowest allowed number, inclusive, enforced by the server and the form.
minItemsOptionalMinimum number of list items, enforced by the server and the form.
- Minimum
0
minLengthOptionalMinimum text length, enforced by the server and the form.
- Minimum
0
pathRequiredPath of this input in the mutation variables or handler input.
- Minimum length
1
placeholderOptionalHint text shown in the empty input.
readonlyOptionalSet to true to show the value without letting the user change it.
- Allowed values
[true,false]
requiredOptionalSet to true to require a value for this Lua handler input. The server enforces it on every call.
- Allowed values
[true]
sourceOptionalPath in the edited record that supplies the initial value.
stateOptionalWorkspace state key whose value fills this input. Editing the form does not change that state.
submitOptionalalways sends the value every time; changed sends it only when the user changed it.
- Allowed values
["always","changed"]
Only the fields listed here are accepted.