You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: react-redux-form.d.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -317,7 +317,7 @@ interface BaseFormProps {
317
317
* The handler function called when the form is submitted. This works almost exactly like a normal <form onSubmit={...}> handler, with a few differences:
318
318
* * The submit event's default action is prevented by default, using event.preventDefault().
319
319
* * The onSubmit handler will not execute if the form is invalid.
320
-
* * The onSubmit handler receives the form model data, not the event.
320
+
* * The onSubmit handler receives the form model data as the first argument, and the event as the second argument.
321
321
*
322
322
* Tips:
323
323
* * You can do anything in onSubmit; including firing off custom actions or handling (async) validation yourself.
0 commit comments