[RN] Don't auto-correct any field in settings
This commit is contained in:
parent
4783b22018
commit
45078fe6b2
|
@ -151,6 +151,7 @@ class SettingsView extends AbstractSettingsView {
|
||||||
fieldSeparator = { true }
|
fieldSeparator = { true }
|
||||||
i18nLabel = 'settingsView.displayName'>
|
i18nLabel = 'settingsView.displayName'>
|
||||||
<TextInput
|
<TextInput
|
||||||
|
autoCorrect = { false }
|
||||||
onChangeText = { this._onChangeDisplayName }
|
onChangeText = { this._onChangeDisplayName }
|
||||||
placeholder = 'John Doe'
|
placeholder = 'John Doe'
|
||||||
value = { _profile.displayName } />
|
value = { _profile.displayName } />
|
||||||
|
@ -158,6 +159,7 @@ class SettingsView extends AbstractSettingsView {
|
||||||
<FormRow i18nLabel = 'settingsView.email'>
|
<FormRow i18nLabel = 'settingsView.email'>
|
||||||
<TextInput
|
<TextInput
|
||||||
autoCapitalize = 'none'
|
autoCapitalize = 'none'
|
||||||
|
autoCorrect = { false }
|
||||||
keyboardType = { 'email-address' }
|
keyboardType = { 'email-address' }
|
||||||
onChangeText = { this._onChangeEmail }
|
onChangeText = { this._onChangeEmail }
|
||||||
placeholder = 'email@example.com'
|
placeholder = 'email@example.com'
|
||||||
|
@ -170,6 +172,7 @@ class SettingsView extends AbstractSettingsView {
|
||||||
i18nLabel = 'settingsView.serverURL'>
|
i18nLabel = 'settingsView.serverURL'>
|
||||||
<TextInput
|
<TextInput
|
||||||
autoCapitalize = 'none'
|
autoCapitalize = 'none'
|
||||||
|
autoCorrect = { false }
|
||||||
onBlur = { this._onBlurServerURL }
|
onBlur = { this._onBlurServerURL }
|
||||||
onChangeText = { this._onChangeServerURL }
|
onChangeText = { this._onChangeServerURL }
|
||||||
placeholder = { this.props._serverURL }
|
placeholder = { this.props._serverURL }
|
||||||
|
|
Loading…
Reference in New Issue