FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/ant-design / FormWithoutFaasProps

Type Alias: FormWithoutFaasProps<Values, ExtendItemProps>

FormWithoutFaasProps<Values, ExtendItemProps> = FormCommonProps<Values, ExtendItemProps> & object

Props for the Form component when NO FaasJS integration is used.

Type Declaration

faas?

optional faas?: never

Must not be set when using a custom onFinish handler.

onFinish?

optional onFinish?: (values) => void | Promise<void>

Custom submit handler that replaces the built-in FaasJS flow.

Parameters

values

Values

Returns

void | Promise<void>

Type Parameters

Values

Values extends Record<string, any> = any

Form values shape.

ExtendItemProps

ExtendItemProps extends ExtendFormItemProps = ExtendFormItemProps

Additional item prop shape accepted by items.