Skip to content

Commit

Permalink
Remove spurious resetValue() for FormsyText
Browse files Browse the repository at this point in the history
  • Loading branch information
astonm committed Nov 15, 2016
1 parent 2323a8c commit d6d70b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/FormsyText.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ const FormsyText = React.createClass({
if (this.isValidValue(event.target.value)) {
this.setValue(event.currentTarget.value);
// If it becomes invalid, and there isn't an error message, invalidate without error.
} else {
this.resetValue();
}
}
}
Expand Down

0 comments on commit d6d70b0

Please sign in to comment.