← All native models

Native model

workspace_record_editor

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

Topics: Surfaces

Fields

A ready-made edit panel: loads the selected record and shows an edit form whose identity input is filled in automatically.

object
argumentOptional

Query variable or handler input that receives the selected identity.

string
childrenRequired
componentRequired
string
Value
"record-editor"
idRequired

Unique identifier: lowercase letters, digits and hyphens, starting with a letter.

string
Minimum length
1
identityRequired

Path to the record's identity within that record.

string
Minimum length
1
identityInputOptional

Mutation or handler input that receives the record's identity automatically.

string
recordRequired

Path to the record being edited in the panel's data.

string
Minimum length
1
selectRequired

State key that holds the selected record's identity.

string
Minimum length
1
titleRequired

Heading shown to users.

string
Minimum length
1
weightOptional

Share of the space relative to sibling layout elements.

number
exclusiveMinimum
0

Only the fields listed here are accepted.