[RN] Don't auto-correct any field in settings

This commit is contained in:
Saúl Ibarra Corretgé 2018-03-27 10:09:27 +02:00 committed by virtuacoplenny
parent 4783b22018
commit 45078fe6b2
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,7 @@ class SettingsView extends AbstractSettingsView {
fieldSeparator = { true }
i18nLabel = 'settingsView.displayName'>
<TextInput
autoCorrect = { false }
onChangeText = { this._onChangeDisplayName }
placeholder = 'John Doe'
value = { _profile.displayName } />
@ -158,6 +159,7 @@ class SettingsView extends AbstractSettingsView {
<FormRow i18nLabel = 'settingsView.email'>
<TextInput
autoCapitalize = 'none'
autoCorrect = { false }
keyboardType = { 'email-address' }
onChangeText = { this._onChangeEmail }
placeholder = 'email@example.com'
@ -170,6 +172,7 @@ class SettingsView extends AbstractSettingsView {
i18nLabel = 'settingsView.serverURL'>
<TextInput
autoCapitalize = 'none'
autoCorrect = { false }
onBlur = { this._onBlurServerURL }
onChangeText = { this._onChangeServerURL }
placeholder = { this.props._serverURL }