Documentation
    Preparing search index...
    type FieldCfg = {
        attributes?: GenObj;
        calculated?: boolean;
        class?: string;
        default?: string;
        description?: string;
        disabled?: boolean;
        exclude_from_mobile?: boolean;
        expression?: string;
        fieldview?: string;
        help?: { context?: Row; dynContext?: string[]; topic: string };
        hidden?: boolean;
        id?: number;
        in_auto_save?: boolean;
        input_type?: InputType;
        is_unique?: boolean;
        label?: string;
        name?: string;
        options?: (string | { label: string; value: string })[];
        parent_field?: string;
        postText?: string;
        primary_key?: boolean;
        refname?: string;
        reftable?: AbstractTable;
        reftable_name?: string;
        reftype?: string | Type;
        required?: boolean;
        showIf?: { [field_name: string]: string | boolean | string[] };
        sourceURL?: string;
        stored?: boolean;
        sublabel?: string;
        tab?: string;
        table?: AbstractTable | null;
        table_id?: number;
        type?: string | Type;
        validator?: (
            value: any,
            whole_rec?: Row,
            field?: { required: boolean },
        ) => boolean | string | undefined;
    }
    Index

    Properties

    attributes?: GenObj
    calculated?: boolean
    class?: string
    default?: string
    description?: string
    disabled?: boolean
    exclude_from_mobile?: boolean
    expression?: string
    fieldview?: string
    help?: { context?: Row; dynContext?: string[]; topic: string }
    hidden?: boolean
    id?: number
    in_auto_save?: boolean
    input_type?: InputType
    is_unique?: boolean
    label?: string
    name?: string
    options?: (string | { label: string; value: string })[]
    parent_field?: string

    OptionalpostText

    postText?: string
    primary_key?: boolean
    refname?: string
    reftable?: AbstractTable
    reftable_name?: string
    reftype?: string | Type
    required?: boolean
    showIf?: { [field_name: string]: string | boolean | string[] }
    sourceURL?: string
    stored?: boolean
    sublabel?: string
    tab?: string
    table?: AbstractTable | null
    table_id?: number
    type?: string | Type
    validator?: (
        value: any,
        whole_rec?: Row,
        field?: { required: boolean },
    ) => boolean | string | undefined