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#
| Name | Type |
|---|---|
error | any |
Returns#
void
Overrides#
React.ComponentPropsWithoutRef.onError