Skip to main content

Interface: FormProps

Hierarchy#

  • ComponentPropsWithoutRef<"form">

    ↳ FormProps

Properties#

onError#

• Optional onError: (error: any) => void

Type declaration#

â–¸ (error): void

Called when an exception is thrown during the form submit sequence. If not defined any exception is re-thrown to surface as an unhandled promise rejection.

Parameters#
NameType
errorany
Returns#

void

Overrides#

React.ComponentPropsWithoutRef.onError