Optional
options: SubmitOptions & { debounceTimeout?: number }Options that override the <form>
's own attributes. Required when
submitting arbitrary data without a backing <form>
. Additionally, you
can specify a debounceTimeout
to delay the submission of the data.
Specifies the
<form>
to be submitted to the server, a specific<button>
or<input type="submit">
to use to submit the form, or some arbitrary data to submit.Note: When using a
<button>
itsname
andvalue
will also be included in the form data that is submitted.