Created
August 29, 2022 16:09
-
-
Save zooks/0873f9eb15442e90b3e81fcb3d0c7194 to your computer and use it in GitHub Desktop.
cleave-js-phone-russia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cleave = new Cleave('.phone-mask', { | |
// prefix: '+7 ', | |
numericOnly: true, | |
blocks: [0, 3, 3, 2, 2], | |
delimiters: ["+7 (", ") ", " ", "-", "-"] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment