Documents / @faasjs/ant-design / FormItemProps
Interface: FormItemProps<T>
Extends
BaseItemProps
.Omit
<AntdFormItemProps
<T
>,"id"
|"children"
|"render"
>
Extended by
Type Parameters
• T = any
Properties
children?
optional
children:UnionFaasItemElement
<T
>
col?
optional
col:number
disabled?
optional
disabled:boolean
extendTypes?
optional
extendTypes:ExtendTypes
formChildren?
optional
formChildren:UnionFaasItemElement
<T
>
formRender?
optional
formRender:UnionFaasItemRender
<T
>
id
id:
string
Inherited from
if()?
optional
if: (values
) =>boolean
trigger when any item's value changed
Parameters
• values: Record
<string
, any
>
Returns
boolean
input?
optional
input:InputProps
|RadioProps
|InputNumberProps
<ValueType
> |SwitchProps
|DatePickerProps
|SelectProps
<T
,DefaultOptionType
>
label?
optional
label:string
|false
Overrides
Omit.label
maxCount?
optional
maxCount:number
object?
optional
object:FormItemProps
<any
>[]
onValueChange()?
optional
onValueChange: (value
,values
,form
) =>void
trigger when current item's value changed
Parameters
• value: T
• values: any
• form: FormInstance
<any
>
Returns
void
options?
optional
options:BaseOption
[]
Inherited from
render?
optional
render:UnionFaasItemRender
<T
>
required?
optional
required:boolean
Overrides
Omit.required
rules?
optional
rules:RuleObject
[]
Overrides
Omit.rules
title?
optional
title:string
Inherited from
type?
optional
type:FaasItemType