Skip to content

Commit

Permalink
Merge pull request #11046 from dhairyasenjaliya/EmailKeyboard
Browse files Browse the repository at this point in the history
Email Keyboard Type added to Secondary Login Page
  • Loading branch information
Luke9389 authored Sep 26, 2022
2 parents da6e3aa + 37d1c3f commit 5ee80d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/CONST.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ const CONST = {
NUMBER_PAD: 'number-pad',
DECIMAL_PAD: 'decimal-pad',
VISIBLE_PASSWORD: 'visible-password',
EMAIL_ADDRESS: 'email-address',
},

ATTACHMENT_SOURCE_ATTRIBUTE: 'data-expensify-source',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/AddSecondaryLoginPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class AddSecondaryLoginPage extends Component {
value={this.state.login}
onChangeText={this.onSecondaryLoginChange}
keyboardType={this.formType === CONST.LOGIN_TYPE.PHONE
? CONST.KEYBOARD_TYPE.PHONE_PAD : undefined}
? CONST.KEYBOARD_TYPE.PHONE_PAD : CONST.KEYBOARD_TYPE.EMAIL_ADDRESS}
returnKeyType="done"
/>
</View>
Expand Down

0 comments on commit 5ee80d7

Please sign in to comment.