Added missing pull

This commit is contained in:
christianalfoni 2015-04-13 18:43:22 +02:00
parent 4cd34a0084
commit c5bbc06178
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ Formsy.Form = React.createClass({
this.updateModel();
var model = this.mapModel();
this.props.onSubmit(model, this.resetModel, this.updateInputsWithError);
this.state.isValid ? this.props.onValidSubmit(model, this.resetModel) : this.props.onInvalidSubmit(model, this.resetModel);
this.state.isValid ? this.props.onValidSubmit(model, this.resetModel, this.updateInputsWithError) : this.props.onInvalidSubmit(model, this.resetModel, this.updateInputsWithError);
return;
}