Documents / @faasjs/ant-design / UnionFaasItemProps

Interface: UnionFaasItemProps<Value, Values>

Extends

Type parameters

Value = any

Values = any

Properties

children?

optional children: ReactElement<UnionFaasItemInjection<UnionFaasItemProps<Value, Values>, any>, string | JSXElementConstructor<any>>

Overrides

TableItemProps.children

col?

optional col: number

Inherited from

FormItemProps.col

descriptionChildren?

optional descriptionChildren: UnionFaasItemElement<any>

Inherited from

DescriptionItemProps.descriptionChildren

descriptionRender?

optional descriptionRender: UnionFaasItemRender<any>

Inherited from

DescriptionItemProps.descriptionRender

disabled?

optional disabled: boolean

Inherited from

FormItemProps.disabled

extendTypes?

optional extendTypes: ExtendTypes

Inherited from

FormItemProps.extendTypes

formChildren?

optional formChildren: UnionFaasItemElement<any>

Inherited from

FormItemProps.formChildren

formRender?

optional formRender: UnionFaasItemRender<any>

Inherited from

FormItemProps.formRender

id

id: string

Inherited from

TableItemProps.id

if()?

optional if: (values) => boolean

trigger when any item's value changed

Parameters

values: Record<string, any>

Returns

boolean

Inherited from

DescriptionItemProps.if

input?

optional input: SelectProps<any, DefaultOptionType> | InputProps | InputNumberProps<ValueType> | SwitchProps | DatePickerProps

Inherited from

FormItemProps.input

label?

optional label: string | false

Inherited from

FormItemProps.label

maxCount?

optional maxCount: number

Inherited from

FormItemProps.maxCount

object?

optional object: UnionFaasItemProps<Value, Values>[]

Overrides

TableItemProps.object

onValueChange()?

optional onValueChange: (value, values, form) => void

trigger when current item's value changed

Parameters

value: any

values: any

form: FormInstance<any>

Returns

void

Inherited from

FormItemProps.onValueChange

options?

optional options: BaseOption[]

Inherited from

TableItemProps.options

optionsType?

optional optionsType: "auto"

Inherited from

TableItemProps.optionsType

render?

optional render: UnionFaasItemRender<any, any>

Overrides

TableItemProps.render

required?

optional required: boolean

Inherited from

FormItemProps.required

rules?

optional rules: RuleObject[]

Inherited from

FormItemProps.rules

tableChildren?

optional tableChildren: UnionFaasItemElement<any>

Inherited from

TableItemProps.tableChildren

tableRender?

optional tableRender: UnionFaasItemRender<any>

Inherited from

TableItemProps.tableRender

title?

optional title: string

Inherited from

TableItemProps.title

type?

optional type: FaasItemType

Support string, string[], number, number[], boolean, date, time, object, object[]

Default

'string'

Inherited from

TableItemProps.type