Skip to content

Commit

Permalink
Merge pull request #5513 from thesahindia/thesahindia/ui-ux/vba-flow-…
Browse files Browse the repository at this point in the history
…inputs

use phone-pad
  • Loading branch information
Jag96 authored Sep 27, 2021
2 parents ee98b48 + aafc273 commit b37e87e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/ReimbursementAccount/CompanyStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ class CompanyStep extends React.Component {
<ExpensiTextInput
label={this.props.translate('common.zip')}
containerStyles={[styles.mt4]}
keyboardType={CONST.KEYBOARD_TYPE.PHONE_PAD}
onChangeText={value => this.clearErrorAndSetValue('addressZipCode', value)}
value={this.state.addressZipCode}
errorText={this.getErrorText('addressZipCode')}
Expand Down
3 changes: 3 additions & 0 deletions src/pages/ReimbursementAccount/IdentityForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import withLocalize, {withLocalizePropTypes} from '../../components/withLocalize
import {translateLocal} from '../../libs/translate';
import {hideBankAccountErrors} from '../../libs/actions/BankAccounts';
import Text from '../../components/Text';
import CONST from '../../CONST';

const propTypes = {
/** Style for wrapping View */
Expand Down Expand Up @@ -118,6 +119,7 @@ const IdentityForm = ({
<ExpensiTextInput
label={`${translate('common.ssnLast4')}`}
containerStyles={[styles.mt4]}
keyboardType={CONST.KEYBOARD_TYPE.PHONE_PAD}
value={ssnLast4}
onChangeText={(val) => {
if (error === translateLocal('bankAccount.error.ssnLast4')) {
Expand Down Expand Up @@ -172,6 +174,7 @@ const IdentityForm = ({
<ExpensiTextInput
label={translate('common.zip')}
containerStyles={[styles.mt4]}
keyboardType={CONST.KEYBOARD_TYPE.PHONE_PAD}
value={zipCode}
onChangeText={(val) => {
if (error === translateLocal('bankAccount.error.zipCode')) {
Expand Down

0 comments on commit b37e87e

Please sign in to comment.