-
Notifications
You must be signed in to change notification settings - Fork 132
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
input type="tel" with expiration date on iPhone #133
Comments
Hey @NealJMD, unfortunately this is a known and expected behavior in iOS for all current versions of Hosted Fields (this has been brought up previously in #81). We accept both One alternative is to break your |
Here's an idea Braintree - after the user has entered 2 characters (01-12) why don't you automatically insert the / for them? That way they don't need that character on the keyboard. I've seen that done in other places and it works well. |
okey-dokey. I am eagerly awaiting the field formatting - product guy is breathing down our neck about it. thanks for the response. |
Just ran into this and was about to contact support. Super disappointing. Doesn't it seem wrong that you'd use a Telephone type field for date entry? |
We have this issue as well on a ecoommerce site and it causing sales to be lost. Is there a workaround or when is a fix going to be released? |
@adstrakt I emailed BT and Tech Support wasn't much help. I ended up just removing the "/" from my expiration date field placeholder. It's not quite as intuitive, but it was an easy fix. Support told me I could also do two fields -- one for month and one for year just as @lilaconlee mentioned above. The real issue here is that we're likely not the only ones who are losing sales because of this recent change. My guess is more devs will find this thread once they realize people haven't been able to purchase using a credit card on the iPhone. Tech Support also suggested I follow the changelog here, but as you can see if you read it, this change was not documented (at least not that I saw). And I still do not understand why a |
I hope they realize this and sort it soon. |
In an ideal world, the We considered this when building Hosted Fields. There were basically four input
The There are two ways around this if you still don't like our decision:
We're also actively working on automatic field formatting for future versions of the SDK (as @Skiddle mentioned), which will automatically insert the slash. That and the fixes above will (hopefully) put this problem to rest. (Stay tuned to issue #77 for updates on field formatting.) Hope this helps explain our decision! |
Thanks for the comprehensive explanation @EvanHahn. Not ideal but changing the placeholder is a good enough workaround for now. Thanks |
The 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.The text was updated successfully, but these errors were encountered: