Преглед изворни кода

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

Loading…
Откажи
Сачувај