input type="tel" with expiration date on iPhone
See original GitHub issueThe CVV has input type="tel"
, which summons the numeric keyboard. The numeric keyboard is great, but it doesn’t have a slash. On-phone screenshot is included below for reference.
- Are we guaranteed that submitting an expiration without a slash will in fact work?
- Can we pass some parameter through to braintree-web to make the expiration date display use a normal keyboard? I imagine that some users when confronted with that incongruity will simply give up, because we are a non-profit soliciting donations, not selling products.
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Input type tel causing issue in iPhone - Stack Overflow
Break your expirationDate into two separate expirationMonth and expirationYear fields. If you're interested in the thought process behind this ...
Read more ><input type="tel"> - HTML: HyperText Markup Language | MDN
The JavaScript is relatively simple — it contains an onchange event handler that, when the <select> value is changed, updates the <input> ...
Read more >Supported Input Values - Apple Developer
Describes the Hypertext Markup Language (HTML) tags and properties that are supported by Safari and WebKit.
Read more >Correct the purchase date or expiration date for your ...
If your coverage expiration date is incorrect If the estimated expiration date of your Telephone Technical Support, Limited Warranty, or ...
Read more >Type with the onscreen keyboard on iPhone - Apple Support
To end a word, lift your finger. You can use either method as you type, and even switch in the middle of a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dedman As @evanhahn mentioned above, the latest version of our SDK has formatting in Hosted Fields, which includes automatic insertion of slashes in expiration dates.
If you’re interested in trying it out while it’s in beta, here are some links to official documentation:
Setup for v3 Migrating from v2 to v3 Hosted Fields in v3
Thanks for the comprehensive explanation @EvanHahn. Not ideal but changing the placeholder is a good enough workaround for now.
Thanks