瀏覽代碼

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

master
Saúl Ibarra Corretgé 7 年之前
父節點
當前提交
45078fe6b2
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      react/features/settings/components/native/SettingsView.js

+ 3
- 0
react/features/settings/components/native/SettingsView.js 查看文件

@@ -151,6 +151,7 @@ class SettingsView extends AbstractSettingsView {
151 151
                         fieldSeparator = { true }
152 152
                         i18nLabel = 'settingsView.displayName'>
153 153
                         <TextInput
154
+                            autoCorrect = { false }
154 155
                             onChangeText = { this._onChangeDisplayName }
155 156
                             placeholder = 'John Doe'
156 157
                             value = { _profile.displayName } />
@@ -158,6 +159,7 @@ class SettingsView extends AbstractSettingsView {
158 159
                     <FormRow i18nLabel = 'settingsView.email'>
159 160
                         <TextInput
160 161
                             autoCapitalize = 'none'
162
+                            autoCorrect = { false }
161 163
                             keyboardType = { 'email-address' }
162 164
                             onChangeText = { this._onChangeEmail }
163 165
                             placeholder = 'email@example.com'
@@ -170,6 +172,7 @@ class SettingsView extends AbstractSettingsView {
170 172
                         i18nLabel = 'settingsView.serverURL'>
171 173
                         <TextInput
172 174
                             autoCapitalize = 'none'
175
+                            autoCorrect = { false }
173 176
                             onBlur = { this._onBlurServerURL }
174 177
                             onChangeText = { this._onChangeServerURL }
175 178
                             placeholder = { this.props._serverURL }

Loading…
取消
儲存