interface SchemaField<
    T = | SchemaDataType
    | {
        [key: string]: SchemaField<
            | SchemaDataType
            | {
                [key: string]: SchemaField<SchemaDataType | { [key: string]: SchemaField<SchemaDataType | ...>; }>;
            },
        >;
    },
> {
    default?: any;
    enum?: | (null | string | number)[]
    | readonly (null | string | number)[]
    | {
        message?: string;
        values: (null | string | number)[] | readonly (null | string | number)[];
    }
    | { [path: string]: null
    | string
    | number };
    fit?: string;
    height?: number;
    index?: any;
    inputType?: UIInputType;
    label?: string;
    max?: number;
    maxLength?: number;
    min?: number;
    minlength?: number;
    minLength?: number;
    options?: ValueLabel[];
    readonly?: boolean;
    ref?: CollectionNames;
    refPath?: string;
    required?: boolean;
    sparse?: boolean;
    type?: T;
    uiModelType?: string;
    unique?: boolean;
    width?: number;
}

Type Parameters

  • T =
        | SchemaDataType
        | {
            [key: string]: SchemaField<
                | SchemaDataType
                | {
                    [key: string]: SchemaField<SchemaDataType | { [key: string]: SchemaField<SchemaDataType | ...>; }>;
                },
            >;
        }

Hierarchy (View Summary)

Properties

default?: any
enum?:
    | (null | string | number)[]
    | readonly (null | string | number)[]
    | {
        message?: string;
        values: (null | string | number)[] | readonly (null | string | number)[];
    }
    | { [path: string]: null
    | string
    | number }
fit?: string
height?: number
index?: any
inputType?: UIInputType
label?: string
max?: number
maxLength?: number
min?: number
minlength?: number

Please use minLength in the future

minLength?: number
options?: ValueLabel[]
readonly?: boolean
refPath?: string
required?: boolean
sparse?: boolean
type?: T
uiModelType?: string
unique?: boolean
width?: number