-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Balázs Orbán edited this page Sep 27, 2019
·
13 revisions
This is the documentation of another-use-form-hook
v3.
See: onSubmit
See: onNotify
({name: string, fields: FormFields, notify: NotifyCallback, setLoading: LoadingCallback }) => void
This is the function that gets executed when you call handleSubmit
.
You can define it either globally as a prop of FormProvider,
or provide it as a parameter of useForm.