Open hisham opened 3 years ago
Thanks for your feedback. I'm not actively working on this library now. It would be really nice to have PR to fix it.
How does Safari identify which one is year and which one is month? by the name? is it important to use CCExpiryMonth
and CCExpiryYear
as exact name?
<input type="text" name="CCExpiryMonth" id="CCExpiryMonth" value="" placeholder="MM" autocomplete="cc-exp">
<input type="text" name="CCExpiryYear" id="CCExpiryYear" value="" placeholder="YYYY" autocomplete="cc-exp">
Any other examples that work in safari that you can share?
What about using cc-exp-month
and cc-exp-year
for the "autocomplete" values?
On Safari, autocomplete for expiry date does not work:
<input id="cc-exp-date" type="tel" autocomplete="cc-exp" ccExp>
It appears Safari wants month and year to be in two separate input boxes - see https://stackoverflow.com/a/53501982/123254