interface FormItemProps {
    autoSubmit?: boolean;
    children?: ChildrenType<any>;
    className?: string;
    colon?: boolean;
    dependencies?: any[];
    extra?: ReactNode;
    fieldId?: string;
    fieldKey?: Key | Key[];
    full?: boolean;
    getValueFromEvent?: ((...args) => any);
    getValueProps?: ((value) => Record<string, unknown>);
    hasFeedback?: boolean | {
        icons: FeedbackIcons;
    };
    help?: ReactNode;
    hidden?: boolean;
    htmlFor?: string;
    id?: string;
    initialValue?: any;
    isList?: boolean;
    isListField?: boolean;
    label?: ReactNode;
    labelAlign?: FormLabelAlign;
    labelCol?: Antd.ColProps;
    like?: boolean;
    messageVariables?: Record<string, string>;
    name?: any;
    noStyle?: boolean;
    normalize?: ((value, prevValue, allValues) => any);
    onMetaChange?: ((meta) => void);
    onReset?: (() => void);
    optional?: boolean;
    prefixCls?: string;
    preserve?: boolean;
    required?: boolean;
    requiredRule?: string | boolean;
    rootClassName?: string;
    rules?: FormRule[];
    shouldUpdate?: ShouldUpdate<any>;
    skeleton?: boolean | MergeWithAs<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, Assign<DevfiveProps, MotionProps>, As>;
    status?: "" | "error" | "success" | "warning" | "validating";
    style?: CSSProperties;
    tooltip?: LabelTooltipType;
    trigger?: string;
    validateDebounce?: number;
    validateFirst?: boolean | "parallel";
    validateStatus?: "" | "error" | "success" | "warning" | "validating";
    validateTrigger?: string | false | string[];
    valuePropName?: string;
    wrapperCol?: Antd.ColProps;
}

Hierarchy (view full)

Properties

autoSubmit?: boolean
children?: ChildrenType<any>
className?: string
colon?: boolean
dependencies?: any[]

Set up dependencies field. When dependencies field update and current field is touched, will trigger validate rules and render.

extra?: ReactNode
fieldId?: string
fieldKey?: Key | Key[]

Deprecated

No need anymore

full?: boolean
getValueFromEvent?: ((...args) => any)

Type declaration

    • (...args): any
    • Parameters

      • Rest ...args: EventArgs

      Returns any

getValueProps?: ((value) => Record<string, unknown>)

Type declaration

    • (value): Record<string, unknown>
    • Parameters

      • value: any

      Returns Record<string, unknown>

hasFeedback?: boolean | {
    icons: FeedbackIcons;
}

Type declaration

  • icons: FeedbackIcons
help?: ReactNode
hidden?: boolean
htmlFor?: string
id?: string
initialValue?: any
isList?: boolean

Passed by Form.List props. Do not use since it will break by path check.

isListField?: boolean

Passed by Form.List props. Do not use since it will break by path check.

label?: ReactNode
labelAlign?: FormLabelAlign
labelCol?: Antd.ColProps
like?: boolean
messageVariables?: Record<string, string>
name?: any
noStyle?: boolean
normalize?: ((value, prevValue, allValues) => any)

Type declaration

    • (value, prevValue, allValues): any
    • Parameters

      • value: any
      • prevValue: any
      • allValues: Store

      Returns any

onMetaChange?: ((meta) => void)

Type declaration

    • (meta): void
    • Parameters

      • meta: MetaEvent

      Returns void

onReset?: (() => void)

Type declaration

    • (): void
    • Returns void

optional?: boolean
prefixCls?: string
preserve?: boolean
required?: boolean
requiredRule?: string | boolean
rootClassName?: string
rules?: FormRule[]
shouldUpdate?: ShouldUpdate<any>
skeleton?: boolean | MergeWithAs<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, Assign<DevfiveProps, MotionProps>, As>
status?: "" | "error" | "success" | "warning" | "validating"
style?: CSSProperties
tooltip?: LabelTooltipType
trigger?: string
validateDebounce?: number

Trigger will after configured milliseconds.

validateFirst?: boolean | "parallel"
validateStatus?: "" | "error" | "success" | "warning" | "validating"
validateTrigger?: string | false | string[]
valuePropName?: string
wrapperCol?: Antd.ColProps

Generated using TypeDoc