diff options
| author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2020-12-08 20:19:32 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-08 23:19:32 -0500 |
| commit | db575615046544e83759a3615f37540305aa9742 (patch) | |
| tree | f30a29f47420990872c9baede4978582cea0b607 /src/screens/onboarding/RegistrationThree.tsx | |
| parent | 0cb19c5b173d4cf6ba67378cbffd61abac7f18c3 (diff) | |
[TMA-308] Forgot password logic [Frontend] (#131)
* Done with changes
* Submit on enter
* Fixed StrongPassword issue
* Clean and modular Verification.tsx
* small fix
Diffstat (limited to 'src/screens/onboarding/RegistrationThree.tsx')
| -rw-r--r-- | src/screens/onboarding/RegistrationThree.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/onboarding/RegistrationThree.tsx b/src/screens/onboarding/RegistrationThree.tsx index 1e1b48d4..614795ca 100644 --- a/src/screens/onboarding/RegistrationThree.tsx +++ b/src/screens/onboarding/RegistrationThree.tsx @@ -274,7 +274,7 @@ const RegistrationThree: React.FC<RegistrationThreeProps> = ({ accessibilityLabel="Password input field." placeholder="Password" autoCompleteType="password" - textContentType="newPassword" + textContentType="oneTimeCode" returnKeyType="next" onChangeText={handlePasswordUpdate} onSubmitEditing={() => handleFocusChange('confirm')} @@ -293,7 +293,7 @@ const RegistrationThree: React.FC<RegistrationThreeProps> = ({ accessibilityLabel={'Password confirmation input field.'} placeholder={'Confirm Password'} autoCompleteType="password" - textContentType="password" + textContentType="oneTimeCode" returnKeyType={form.tcAccepted ? 'go' : 'default'} onChangeText={handleConfirmUpdate} onSubmitEditing={handleRegister} |
