Skip to main content

TypedCustomSingleFieldConfig

Configures a custom field on an entity in the CustomFields config object.

Signature
type TypedCustomSingleFieldConfig<T extends CustomFieldType, C extends CustomField> = BaseTypedCustomFieldConfig<T, C> & {    list?: false;    defaultValue?: DefaultValueType<T>;    validate?: (        value: DefaultValueType<T>,        injector: Injector,        ctx: RequestContext,    ) => string | LocalizedString[] | void | Promise<string | LocalizedString[] | void>;}
Was this chapter helpful?
Report Issue
Edited Feb 3, 2026·Edit this page