Skip to content

Commit

Permalink
fix: TextInput example (accept upperCase and lowerCase letters) (#619)
Browse files Browse the repository at this point in the history
It should accept both uppercase and lowercase letters
  • Loading branch information
brunohkbx authored and Trancever committed Oct 23, 2018
1 parent b980c36 commit 706c13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/TextInputExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TextInputExample extends React.Component<Props, State> {
outlinedText: '',
};

_isUsernameValid = () => /^[a-z]*$/.test(this.state.name);
_isUsernameValid = () => /^[a-zA-Z]*$/.test(this.state.name);

render() {
const {
Expand Down

0 comments on commit 706c13d

Please sign in to comment.