cleave.js icon indicating copy to clipboard operation
cleave.js copied to clipboard

[m, y] format with browser autofill

Open rtrufin opened this issue 6 years ago • 2 comments

I've integrated cleave in a checkout page form and I would need some clarifications over the date format functionality.

In case the format needed is ['m', 'y'], while using the browser's autocomplete on card details, for a value like: 01/2025, the trimmed result is 01/20, although the correct one is: 01/25.

Is there any suggested workaround for this issue?

rtrufin avatar Jul 03 '19 09:07 rtrufin

Did you solved this @rtrufin ?

Marinolinderhof avatar Jul 29 '20 15:07 Marinolinderhof

Also wondering if this was solved

katerlouis avatar Mar 02 '22 17:03 katerlouis