aboutsummaryrefslogtreecommitdiff
path: root/src/screens/onboarding/RegistrationOne.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-21 18:13:43 -0500
committerIvan Chen <ivan@tagg.id>2021-01-21 18:13:43 -0500
commit765667ff1b72f7ed35d96d4d7dbe90c183e8be11 (patch)
treeac6b1f7a5a3abbc396c8b7a367a9bbbfd6323b07 /src/screens/onboarding/RegistrationOne.tsx
parentd1a5193bc1d7117e8c331918ebaac68aa05b29a7 (diff)
updated regex, removed authentication, updated validation
Diffstat (limited to 'src/screens/onboarding/RegistrationOne.tsx')
-rw-r--r--src/screens/onboarding/RegistrationOne.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/onboarding/RegistrationOne.tsx b/src/screens/onboarding/RegistrationOne.tsx
index 2a1d884d..c9822f76 100644
--- a/src/screens/onboarding/RegistrationOne.tsx
+++ b/src/screens/onboarding/RegistrationOne.tsx
@@ -146,7 +146,7 @@ const RegistrationOne: React.FC<RegistrationOneProps> = ({navigation}) => {
<Text style={styles.formHeader}>ENTER PHONE NUMBER</Text>
</View>
<TaggInput
- maxLength={12} // currently only support US phone numbers
+ maxLength={10} // currently only support US phone numbers
accessibilityHint="Enter your phone number."
accessibilityLabel="Phone number input field."
placeholder="Phone Number"
@@ -154,7 +154,7 @@ const RegistrationOne: React.FC<RegistrationOneProps> = ({navigation}) => {
textContentType="telephoneNumber"
autoCapitalize="none"
returnKeyType="next"
- keyboardType="phone-pad"
+ keyboardType="number-pad"
onChangeText={handlePhoneUpdate}
blurOnSubmit={false}
ref={phoneRef}