1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Adjustments for autofill

This commit is contained in:
David Bomba 2022-12-15 18:17:16 +11:00
parent 57c976536f
commit 0b442adac9

View File

@ -79,6 +79,13 @@
$(function() { $(function() {
var myCard = $('#my-card'); var myCard = $('#my-card');
myCard.EXPIRY_USE_DROPDOWNS = true; myCard.EXPIRY_USE_DROPDOWNS = true;
document.getElementsByName('expiry-month')[0].attr("x-autocompletetype", "cc-exp-month");
document.getElementsByName('expiry-month')[0].attr("autocompletetype", "cc-exp-month");
document.getElementsByName('expiry-year')[0].attr("x-autocompletetype", "cc-exp-year");
document.getElementsByName('expiry-year')[0].attr("autocompletetype", "cc-exp-year");
}); });
</script> </script>