FieldAdminConfig
Defined in: packages/core/src/fields/baseTypes.ts:366
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,
condition) remain optional — undefined means the user did not configure them.
FieldAdminConfigInput for the user-facing input type
Extended by
Section titled “Extended by”TextFieldAdminConfigEmailFieldAdminConfigNumberFieldAdminConfigBlocksFieldAdminConfigSelectFieldAdminConfigRelationshipFieldAdminConfigUrlFieldAdminConfigGroupFieldAdminConfig
Type Parameters
Section titled “Type Parameters”TCollectionSlug
Section titled “TCollectionSlug”TCollectionSlug extends VexResourceSlug = VexResourceSlug
TComponent
Section titled “TComponent”TComponent extends ComponentHKT = ComponentHKT
Properties
Section titled “Properties”cellAlignment
Section titled “cellAlignment”cellAlignment:
Alignment
Defined in: packages/core/src/fields/baseTypes.ts:381
Text alignment for this field’s column in the data table.
columnWidth?
Section titled “columnWidth?”
optionalcolumnWidth?:number
Defined in: packages/core/src/fields/baseTypes.ts:399
Pixel width of this field’s own column in the list table. Optional — unlike enableSorting/enableHiding, the type default lives only in resolveListViewColumnConfig’s own FIELD_TYPE_DEFAULT_WIDTH map, not here.
components
Section titled “components”components:
object
Defined in: packages/core/src/fields/baseTypes.ts:385
Resolved per-field slot overrides — always present, every list defaulted to [] by resolveFieldComponents.
afterInput
Section titled “afterInput”afterInput:
ComponentContributionInput<TComponent,unknown>[]
beforeInput
Section titled “beforeInput”beforeInput:
ComponentContributionInput<TComponent,unknown>[]
Cell:
ComponentOverrideInput<TComponent,unknown>[]
Description
Section titled “Description”Description:
ComponentOverrideInput<TComponent,unknown>[]
Field:
ComponentOverrideInput<TComponent,unknown>[]
Input:
ComponentOverrideInput<TComponent,unknown>[]
Label:
ComponentOverrideInput<TComponent,unknown>[]
enableHiding
Section titled “enableHiding”enableHiding:
boolean
Defined in: packages/core/src/fields/baseTypes.ts:397
Whether this field’s column may be hidden from the list table via the columns menu.
enableSorting
Section titled “enableSorting”enableSorting:
boolean
Defined in: packages/core/src/fields/baseTypes.ts:395
Whether the list table’s column header for this field may sort the table.
hidden
Section titled “hidden”hidden:
boolean
Defined in: packages/core/src/fields/baseTypes.ts:373
Whether the field is hidden from the admin form.
placeholder?
Section titled “placeholder?”
optionalplaceholder?:string
Defined in: packages/core/src/fields/baseTypes.ts:383
Placeholder text shown in the input when empty.
position
Section titled “position”position:
"main"|"sidebar"
Defined in: packages/core/src/fields/baseTypes.ts:377
Position of the field in the form layout — "main" or "sidebar".
readOnly
Section titled “readOnly”readOnly:
boolean
Defined in: packages/core/src/fields/baseTypes.ts:375
Whether the field is read-only in the admin form.
width:
string
Defined in: packages/core/src/fields/baseTypes.ts:379
Width of the field within its row, any CSS width — e.g. "100%", "50%", "240px".
Methods
Section titled “Methods”condition()?
Section titled “condition()?”
optionalcondition(props):boolean
Defined in: packages/core/src/fields/baseTypes.ts:371
Shows the field only while this returns true.
Parameters
Section titled “Parameters”FieldConditionProps<TCollectionSlug>
Returns
Section titled “Returns”boolean