[IMPROVEMENT] Keyboard and content type on login (#1403)
This commit is contained in:
parent
2f1708b0c3
commit
e5791215a4
|
@ -215,6 +215,8 @@ class LoginView extends React.Component {
|
|||
onChangeText={value => this.setState({ user: value })}
|
||||
onSubmitEditing={() => { this.passwordInput.focus(); }}
|
||||
testID='login-view-email'
|
||||
textContentType='username'
|
||||
autoCompleteType='username'
|
||||
/>
|
||||
<TextInput
|
||||
inputRef={(e) => { this.passwordInput = e; }}
|
||||
|
@ -226,6 +228,8 @@ class LoginView extends React.Component {
|
|||
onChangeText={value => this.setState({ password: value })}
|
||||
testID='login-view-password'
|
||||
containerStyle={sharedStyles.inputLastChild}
|
||||
textContentType='password'
|
||||
autoCompleteType='password'
|
||||
/>
|
||||
<Button
|
||||
title={I18n.t('Login')}
|
||||
|
|
|
@ -270,6 +270,8 @@ class NewServerView extends React.Component {
|
|||
testID='new-server-view-input'
|
||||
onSubmitEditing={this.submit}
|
||||
clearButtonMode='while-editing'
|
||||
keyboardType='url'
|
||||
textContentType='URL'
|
||||
/>
|
||||
<Button
|
||||
title={I18n.t('Connect')}
|
||||
|
|
Loading…
Reference in New Issue