Documents / @faasjs/ant-design / ExtendFormItemProps
Interface: ExtendFormItemProps
Extensible form item props that accept any string type.
Extends
Omit<FormItemProps,"type">
Properties
children?
optionalchildren?:UnionFaasItemElement<any> |null
Generic custom element rendered when no form-specific child overrides it.
Inherited from
Omit.children
col?
optionalcol?:number
Number of columns taken by this field in the Ant Design grid.
Inherited from
disabled?
optionaldisabled?:boolean
Whether the field is disabled.
Inherited from
extendTypes?
optionalextendTypes?:ExtendTypes
Custom type renderers keyed by item type.
Inherited from
UnionFaasItemProps.extendTypes
formChildren?
optionalformChildren?:UnionFaasItemElement<any> |null
Form-specific custom element.
Inherited from
Omit.formChildren
formRender?
optionalformRender?:UnionFaasItemRender<any> |null
Form-specific custom render callback.
Inherited from
Omit.formRender
id
id:
string|number
Inherited from
if?
optionalif?: (values) =>boolean
Conditional visibility predicate. When false, the field is hidden and rendered as a hidden input.
Parameters
values
Record<string, any>
Returns
boolean
Inherited from
Omit.if
input?
optionalinput?:InputProps|RadioProps|InputNumberProps<ValueType> |SwitchProps|DatePickerProps|SelectProps<any,DefaultOptionType>
Props forwarded to the Ant Design input component used for this field.
Inherited from
Omit.input
label?
optionallabel?:string|false
Field label text, or false to hide the label.
Inherited from
maxCount?
optionalmaxCount?:number
Maximum number of entries allowed in a list item.
Inherited from
object?
optionalobject?:FormItemProps<any>[]
Nested item definitions used by object and object[] item types.
Inherited from
Omit.object
onValueChange?
optionalonValueChange?: (value,values,form) =>void
Called when the field value changes.
Parameters
value
any
values
any
form
FormInstance
Returns
void
Inherited from
Omit.onValueChange
options?
optionaloptions?:BaseOption[]
Inherited from
render?
optionalrender?:UnionFaasItemRender<any> |null
Generic custom render callback.
Inherited from
Omit.render
required?
optionalrequired?:boolean
Whether the field is required. When true, a required validation rule is appended.
Inherited from
rules?
optionalrules?:RuleObject[]
Validation rules appended to the field.
Inherited from
title?
optionaltitle?:string
Inherited from
type?
optionaltype?:string