Black Lives Matter. Support Equal Justice.
Types

FormRenderProps


FormRenderProps

These are the props that <Form/> provides to your render function or component. Keep in mind that the values you receive here are dependent upon which values of FormState you have subscribed to with the subscription prop.

This object contains everything in Final Form's FormState as well as:

form

FormApi

The Final Form FormApi.

handleSubmit

(?SyntheticEvent<HTMLFormElement>) => ?Promise<?Object>

A function intended for you to give directly to the <form> tag:

<form onSubmit={handleSubmit}>
... fields go here ...
</form>

The function's return type depends on the way the onSubmit function is written.

Related: