Category : cleave

While implementing cleave.js for credit card formatting of an input field created as a custom element using litElement I ran into this error when I type the first character into the input but no issue with subsequent characters. cleave-esm.js:712 Uncaught TypeError: Cannot read property ‘slice’ of undefined at Object.getPostDelimiter (cleave-esm.js:712) at Cleave.onChange (cleave-esm.js:1244) I tracked ..

Read more