Kaizen
Browse modulesFormsforms/sharedTypes

Type Alias: SectionField

type SectionField = {
  description?: string;
  label: string;
  name: string;
  type: FieldType;
};

Defined in: shared/forms/group-fields-into-sections.ts:10

Minimum shape required to group fields into sections. Any value that carries name, type, and label (plus optional description) is groupable — so FormField, FormFieldDefinition, and any caller-defined field-like type with the same shape all work without additional casts.

Properties

description?

optional description?: string;

Defined in: shared/forms/group-fields-into-sections.ts:14


label

label: string;

Defined in: shared/forms/group-fields-into-sections.ts:13


name

name: string;

Defined in: shared/forms/group-fields-into-sections.ts:11


type

type: FieldType;

Defined in: shared/forms/group-fields-into-sections.ts:12

On this page