We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<form/>
1 parent fec4576 commit 1df3e35Copy full SHA for 1df3e35
src/main.js
@@ -424,9 +424,23 @@ Formsy.Form = React.createClass({
424
this.validateForm();
425
},
426
render: function () {
427
+ var {
428
+ mapping,
429
+ validationErrors,
430
+ onSubmit,
431
+ onValid,
432
+ onInvalid,
433
+ onInvalidSubmit,
434
+ onChange,
435
+ reset,
436
+ preventExternalInvalidation,
437
+ onSuccess,
438
+ onError,
439
+ ...nonFormsyProps
440
+ } = this.props;
441
442
return (
- <form {...this.props} onSubmit={this.submit}>
443
+ <form {...nonFormsyProps} onSubmit={this.submit}>
444
{this.props.children}
445
</form>
446
);
0 commit comments