Skip to content Skip to sidebar Skip to footer

Cleave.js Phone CA

I'm trying to format a phone number field using Cleave.js and it's not working but I can't seem to figure out why. I started off like this: import Cleave from 'cleave.js'; var cle

Solution 1:

Instead of importing, try requiring: require('cleave.js/dist/addons/cleave-phone.ca')


Post a Comment for "Cleave.js Phone CA"