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 ..
Thank you for paying attention to my question. I am making a website for myself on WordPress, in parallel I am learning programming. I ask you to help sort out one point. I have implemented a contact form based on the Contact Form 7 plugin. I connected JS (cleave.js) to make it convenient to enter ..