interface FormHandle extends FormState A form bound by useForm: a reactive state and its actions.
Methods
submit
submit<T>(command: () => T | PromiseLike<T>, options?: FormSubmitOptions): Promise<FormSubmitResult<T>>; Commits every field, waits for their writes and runs command unless a field's write or text failed.
reset
reset(): void; Resets every field.