Skip to content

Commit

Permalink
Fields that have validations don't allow input
Browse files Browse the repository at this point in the history
Issue formsy#152 - fields that have a validation specification do not allow
input at all if the first character typed causes the field to be
invalid.
  • Loading branch information
joelkoz committed Oct 31, 2016
1 parent 6df0352 commit 00902f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/FormsyText.jsx
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 00902f2

Please sign in to comment.