Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 7ce0c1a

Browse files
committed
Updating typedefs
1 parent e8b85a0 commit 7ce0c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-redux-form.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ interface BaseFormProps {
317317
* The handler function called when the form is submitted. This works almost exactly like a normal <form onSubmit={...}> handler, with a few differences:
318318
* * The submit event's default action is prevented by default, using event.preventDefault().
319319
* * 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.
321321
*
322322
* Tips:
323323
* * You can do anything in onSubmit; including firing off custom actions or handling (async) validation yourself.

0 commit comments

Comments
 (0)