Skip to content

FieldAdminConfig

Defined in: packages/core/src/fields/baseTypes.ts:149

Resolved admin configuration for a field, returned after defaults are applied.

Properties with defaults (hidden, readOnly, position, width, cellAlignment) are always present. Properties that are meaningless when absent (placeholder) remain optional — undefined means the user did not configure them.

FieldAdminConfigInput for the user-facing input type

cellAlignment: Alignment

Defined in: packages/core/src/fields/baseTypes.ts:159

Text alignment for this field’s column in the data table.


hidden: boolean

Defined in: packages/core/src/fields/baseTypes.ts:151

Whether the field is hidden from the admin form.


optional placeholder?: string

Defined in: packages/core/src/fields/baseTypes.ts:161

Placeholder text shown in the input when empty.


position: "main" | "sidebar"

Defined in: packages/core/src/fields/baseTypes.ts:155

Position of the field in the form layout — "main" or "sidebar".


readOnly: boolean

Defined in: packages/core/src/fields/baseTypes.ts:153

Whether the field is read-only in the admin form.


width: "full" | "half"

Defined in: packages/core/src/fields/baseTypes.ts:157

Width of the field within its row — "full" or "half".