Skip to content

TabsFieldInput

Defined in: packages/core/src/fields/tabs/types.ts:50

User-facing input to tabs().

TCollectionSlug extends VexResourceSlug = VexResourceSlug

TFieldMeta extends object = { }

TTabs extends readonly TabInput<TCollectionSlug>[] = readonly TabInput<TCollectionSlug>[]

optional admin?: UIFieldAdminInput<TCollectionSlug>

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

Admin UI configuration for this UI field.

BaseUIFieldInput.admin


optional description?: string

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

Semantic description of the field. Used in three places:

  1. Helper text rendered below the field input in the admin form UI.
  2. As the Zod .meta({ description }) value for form validation.
  3. As the JSDoc comment on the generated document interface property.

To write a separate JSDoc comment, use interfaceDescription in addition.

BaseFieldInput.description


optional label?: string

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

Display label for the field in the admin form.

BaseFieldInput.label


optional meta?: TFieldMeta

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

BaseUIFieldInput.meta


tabs: TTabs

Defined in: packages/core/src/fields/tabs/types.ts:55