Adjustments for autofill

This commit is contained in:
David Bomba 2022-12-15 18:23:25 +11:00
parent e5f765c49c
commit 82aa100d4c

View File

@ -83,6 +83,7 @@ $(function() {
document.getElementsByName('expiry-month')[0].setAttribute("x-autocompletetype", "cc-exp-month");
document.getElementsByName('expiry-month')[0].setAttribute("autocompletetype", "cc-exp-month");
document.getElementsByName('expiry-month')[0].setAttribute("autocomplete", "on");
document.getElementsByName('expiry')[0].setAttribute("autocomplete", "on");
document.getElementsByName('expiry-year')[0].setAttribute("x-autocompletetype", "cc-exp-year");
document.getElementsByName('expiry-year')[0].setAttribute("autocompletetype", "cc-exp-year");