FaasJS
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文

Documents / @faasjs/ant-design / FormItemProps

Interface: FormItemProps<T>

Extends

  • BaseItemProps.Omit<AntdFormItemProps<T>, "id" | "children" | "render">

Extended by

  • UnionFaasItemProps

Type Parameters

T

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

BaseItemProps.id

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

Returns

void

options?

optional options: BaseOption[]

Inherited from

BaseItemProps.options

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

BaseItemProps.title

type?

optional type: FaasItemType