Merge pull request #2380 from saghul/app-settings-kbd

[RN] Use the "email" keyboard for the email field
This commit is contained in:
Saúl Ibarra Corretgé 2018-01-10 15:52:27 +01:00 committed by GitHub
commit e00ea353e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ class AppSettings extends AbstractAppSettings {
fieldSeparator = { true }
i18nLabel = 'profileModal.email' >
<TextInput
keyboardType = { 'email-address' }
onChangeText = { this._onChangeEmail }
onEndEditing = { this._onSaveEmail }
placeholder = 'email@example.com'