On Login screen use email keyboard type and disable auto complete
If you haven’t already, check out our contributing guidelines for onboarding!
Platform - iOS version: v1.0.1-452
Action Performed (reproducible steps):
On Login screen when user enter the user name, email keyboard is not showing and auto complete is enable.
Expected Result: On Login screen use email keyboard type and disable auto complete
Actual Result: Email keyboard is not showing and auto complete is enable
Function found here.
Logs - JS/Android/iOS (if applicable): n/a
Logs - JS/Android/iOS (if applicable):
cc @Expensify/contributor-management - Thoughts on this issue?
I think that makes sense. The email keyboard time seems to basically be the default keyboard with an @ symbol. This input can take phone numbers or email addresses, but I can't think of a better keyboard type to use.
cc @sylveawong since you're working on the login stuff.
@AndrewGable @puneetlath - I am attaching the Linkedin keyboard( email-address type) for your reference. Linkedin also have same input user name and mobile number, so we can use same keyboard type here.
I made the changes in code, please find the attached screenshot and let me know if it seems fine for you.
Ok, makes sense to me.
Triggered auto assignment to @ryanldonato (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.
Triggered auto assignment to @bfitzexpensify (External), see https://stackoverflow.com/c/expensify/questions/7703 for more details.
Triggered auto assignment to @kadiealexander (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
As far as I can tell this one looked like it was ready to work on but no one is assigned :)
Just checking if an iPhone user can reproduce this: https://expensify.slack.com/archives/C01SKUP7QR0/p1620890935125100
Just helping out since this is a Daily - based on the Slack convo, it sounds like this would be a new feature to the iOS keyboard so posting to Upwork!
Internal Upwork job posting - https://www.upwork.com/ab/applicants/1393116767644647424/job-details External Upwork job posting - https://www.upwork.com/jobs/~01576dddefce7e76db
Waiting for proposals!
We can use the default react native text input props autoCompleteType={"off"} and keyboardType={"email-address"}.
This should definitely resolve the issue.
@AndrewGable @kadiealexander @Christinadobrzyn - I had provided my solution above in the defect with screen shot. I am using react native text input props autoCompletet = false in LoginFormNarrow.js and LoginFormWide.js.
This should definitely resolve the issue.
So could you please assign this task to me in Upwork, I already submit my proposal for same in Upwork job .
Proposal 📄
On Login, screen use email keyboard type and disable auto complete
Approach 👨🏼💻
File of concern : src/pages/signin/LoginForm.js
- In order to disable the auto complete we need to modify the current auto complete prop
- autoCompleteType="femail"
+ autoCompleteType="off"
- For email keyboard, we need to add the following prop
+ keyboardType="email-address"
Testing 🧪
Adding snapshot-based test would make sure that we didn’t override this in future
Demo
Expected Delivery Time
Approx 1-2 Days.
Previous Experience
- https://github.com/Expensify/Expensify.cash/issues/2811
Triggered auto assignment to @marcaaron (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
@pranshuchittora @dipan97 have the same solution as @dharammachra so I will give the issue creator some time to respond here first.
@dharammachra are you still interested in working on this?
@marcaaron @kadiealexander - Yes Marc I am interesting in working on this.
Awesome! Job offer sent, feel free to get going on a PR @dharammachra
Hey @dharammachra! how are you getting on with the PR? Is there anything you need help with?
@kadiealexander - I was facing issue with gpg singed commit, resolved now, will send the merge request. Thanks
@kadiealexander @marcaaron - Hi Marc, I have created a new PR #3128, so could you please review. Also can I close previous PR #3114 that have issue with deleted account.