Skip to content

Commit

Permalink
Merge pull request #26122 from Expensify/tgolen-enable-internationala…
Browse files Browse the repository at this point in the history
…ddresses

Allow international address search
  • Loading branch information
tylerkaraszewski authored Aug 28, 2023
2 parents 0343bfe + 7804c9c commit 511b79b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AddressSearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const defaultProps = {
value: undefined,
defaultValue: undefined,
containerStyles: [],
isLimitedToUSA: true,
isLimitedToUSA: false,
renamedInputKeys: {
street: 'addressStreet',
street2: 'addressStreet2',
Expand Down
1 change: 0 additions & 1 deletion src/pages/settings/Profile/PersonalDetails/AddressPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ function AddressPage({privatePersonalDetails, country}) {
inputID="addressLine1"
label={translate('common.addressLine', {lineNumber: 1})}
defaultValue={street1 || ''}
isLimitedToUSA={false}
onValueChange={handleAddressChange}
renamedInputKeys={{
street: 'addressLine1',
Expand Down
2 changes: 2 additions & 0 deletions src/pages/settings/Wallet/AddDebitCardPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ function DebitCardPage(props) {
label={translate('addDebitCardPage.billingAddress')}
containerStyles={[styles.mt4]}
maxInputLength={CONST.FORM_CHARACTER_LIMIT}
// Limit the address search only to the USA until we fully can support international debit cards
isLimitedToUSA
/>
</View>
<TextInput
Expand Down

0 comments on commit 511b79b

Please sign in to comment.