Skip to content

Commit

Permalink
allow +
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmgdr committed Sep 12, 2019
1 parent 264fced commit 75bb542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/fauceting/PhoneInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PhoneInput extends React.PureComponent<Props & ScreenProps, State> {

setNumber = (event: NativeSyntheticEvent<TextInputChangeEventData>) => {
// remove non phone number characters
const phone = event.nativeEvent.text.replace(/[^\d\(\)-\s.]/g, '')
const phone = event.nativeEvent.text.replace(/[^\d\(\)-\s.+]/g, '')

const phoneInfo =
phone.length && PhoneNumberUtils.parsePhoneNumber(phone, this.state.countryCallingCode)
Expand Down

0 comments on commit 75bb542

Please sign in to comment.