An onSubmit function for use in a create form that connects to a GraphQL API.
onSubmit
The form values to submit.
A function that performs the creation (e.g. makes an API request) and returns errors.
An
onSubmitfunction for use in a create form that connects to a GraphQL API.