Built-in Schema Fields

StaticTableField

Basic Usage

Use StaticTableField when the schema needs fixed rows with editable values.

Registry

  • Key: staticTable
  • Module: src/forms/fields/StaticTableField.tsx

Role in SchemaForm

Fixed-row table UI backed by EditableTable: field.rows defines row keys/defaults; field.columns defines column types (heading, label, or editable types with name). The form value is an object keyed by row id (key / name on each row config), each value either a scalar (single editable column) or a record of column values.

Example schema

json
{
  "$field": "staticTable",
  "name": "pricing",
  "label": "Pricing",
  "rows": [
    { "key": "standard", "label": "Standard" }
  ],
  "columns": [
    { "name": "amount", "type": "text", "heading": "Amount" }
  ]
}

See StaticTableField.tsx for full column/row normalization.

Edit this page
Last updated: May 22, 2026, 6:53 PM