useApiForm<T extends FieldValues>(options?: UseFormProps<T>): UseApiFormResult<T>
Returns a react-hook-form form made with options, plus submit, which
turns a failed request into the form's root error.
optional
options: UseFormProps<T>