Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix email keyboard type #18236

Merged
merged 3 commits into from
May 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/pages/settings/Profile/Contacts/NewContactMethodPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import ROUTES from '../../../../ROUTES';
import styles from '../../../../styles/styles';
import * as User from '../../../../libs/actions/User';
import * as LoginUtils from '../../../../libs/LoginUtils';
import CONST from '../../../../CONST';

const propTypes = {
/* Onyx Props */
Expand Down Expand Up @@ -105,6 +106,7 @@ function NewContactMethodPage(props) {
<View style={[styles.ph5, styles.mb6]}>
<TextInput
label={`${props.translate('common.email')}/${props.translate('common.phoneNumber')}`}
keyboardType={CONST.KEYBOARD_TYPE.EMAIL_ADDRESS}
ref={el => loginInputRef.current = el}
value={login}
onChangeText={handleLoginChange}
Expand Down