← All native models

Native model

workspace_variant_field

Declare a named workspace_variant_field value and reference it as workspace_variant_field.your_name. Models have no separate platform identity or lifecycle.

Topics: Surfaces

Fields

An input inside a variant case. Its path is relative to the selected case.

object
childrenOptional
array
Minimum items
0
Maximum items
9223372036854776000
List items
All of these apply
componentRequired
string
Value
"variant-field"
controlOptional

Input control to show. By default it is chosen from the input's type.

string
Allowed values
["text","textarea","email","phone","password","number","toggle","select","record-picker","json"]
helpOptional

Short explanation shown with the input. Defaults to the schema's description when there is one.

string
labelOptional

Label shown to users.

string
pathRequired

Path of this input, relative to the selected case.

string
Minimum length
1
placeholderOptional

Hint text shown in the empty input.

string
readonlyOptional

Set to true to show the value without letting the user change it.

boolean
Allowed values
[true,false]
sourceOptional

Path in the edited record that supplies the initial value.

string

Only the fields listed here are accepted.