zdfs / toscani

This is a jQuery-based, progressively-enhanced solution for creating a single-field credit card input. The idea is to create a more streamlined credit card entry process.
872 stars 102 forks source link

Can't enter date and other fields in Andriod. #40

Open Ganapatiprasad opened 5 years ago

architsingh99 commented 5 years ago

I am also facing the same problem. It might be because of the keyboard used in android phones as I debugged by cell using usb debugging and entered the details via pc, then it works fine. I think in android the setSelectionRange method is being manipulated somehow. It is working fine in other devices and this issue is only in android. Can someone provide a solution for it which works??

architsingh99 commented 5 years ago

I have found a solution to it. In the input field of carnumber, expiry date and cvv number just put this attributes. autocorrect="off", spellcheck="false", inputmode="numeric"