Skip to content

Commit

Permalink
Disable auto capitalization for login field
Browse files Browse the repository at this point in the history
This is either an email or a phone number. Phone numbers aren't
capitalized, and emails are not typically capitalized. Disabling
auto-capitalization ("sentence" is the default) should make this field
more convenient for most users
  • Loading branch information
rafecolton committed Oct 14, 2020
1 parent f48c176 commit 0db87ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/page/SignInPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class App extends Component {
textContentType="username"
onChangeText={text => this.setState({login: text})}
onSubmitEditing={this.submitForm}
autoCapitalize="none"
/>
</View>
<View style={[styles.mb4]}>
Expand Down

0 comments on commit 0db87ce

Please sign in to comment.