cleave.js
cleave.js copied to clipboard
[m, y] format with browser autofill
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?
Did you solved this @rtrufin ?
Also wondering if this was solved