interface DefaultArg {
    maxLength?: number;
    minLength?: number;
    type: FieldType;
    label: string;
    validate: ((value) => string | boolean);
    defaultValue?: any;
    defaultValues?: any[] | Record<string, any>;
}

Hierarchy (view full)

Properties

maxLength?: number
minLength?: number
type: FieldType
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValue?: any
defaultValues?: any[] | Record<string, any>