-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add slash in Debit card expiration #7362
Add slash in Debit card expiration #7362
Conversation
…toslash-expiration-date
…toslash-expiration-date # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
@parasharrajat @Julesssss Did we check #7318 is working fine for Android and iOS? For me it doesn't text on prop change for native devices. |
I didn't get it. |
What exactly are you facing? |
The state value is updated in the form, but the |
I will pull your branch see what is happening. |
I tested and it seems |
That’s weird because I did log it. I’ll check again, and the same thing is working fine on web/mWeb and desktop |
I tested on web. |
🤔 Here's the video of Web and I've also logged the auto-slash-expiration.mp4 |
This comment was marked as outdated.
This comment was marked as outdated.
I couldn't find a specific issue with the code and the same delay isn't experienced in iOS.
It does rerender the component, should we try moving this into a separate TextInput? @Julesssss I'll be able to access an Android device by tomorrow, can test release build after that. |
Great. Thanks, @mananjadhav. Let's wait a bit for the slack thread. |
@Julesssss What do you think would be the best path forward here? |
Sorry, I think my Slack thread comment was about a different issue 🤦 Maybe we continue with the release build test. If there's no noticeable lag we can probably just move forward.
|
…toslash-expiration-date
@parasharrajat @Julesssss I was able to get access to an Android device and test a release build. I don't see a huge lag and it looks good enough to move forward. Attached is the video. auto-slash-expiration-android_52XFdGB0.mp4 |
…toslash-expiration-date
Awesome, thanks for that! Looks fine to me. |
// Backspace was hit/character removed | ||
// Remove extra digit when there's a / involved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you just reword this sightly? It took me a couple of times to understand it properly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated. Let me know if it is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Looking good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
🎀 👀 🎀 C+ reviewed
🚀 Deployed to staging by @Julesssss in version: 1.1.56-0 🚀
|
🚀 Deployed to production by @francoisl in version: 1.1.56-0 🚀
|
Details
Fixed Issues
$ #6891
Tests
PR Review Checklist
Contributor (PR Author) Checklist
main
### Fixed Issues
section abovesrc/languages/*
files (if applicable)Styling.md
) for all style edits I madeSTYLE.md
)Avatar
, I verified the components usingAvatar
are working as expected)main
branch)PR Reviewer Checklist
main
### Fixed Issues
section abovesrc/languages/*
files (if applicable)STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)main
branch)QA Steps
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
ios-autoslash.mov
Android
android-autoslash.mov