@@ -1,6 +1,6 @@
{
"name": "inputmask",
- "version": "3.3.7-28",
+ "version": "3.3.7-29",
"main": [
"./dist/inputmask/inputmask.js",
"./dist/inputmask/inputmask.extensions.js",
@@ -2,7 +2,7 @@
"repository": "robinherbots/Inputmask",
"description": "Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.",
"keywords": [
"jquery",
"plugins",
@@ -1,7 +1,7 @@
"name": "robinherbots/inputmask",
"type": "library",
"keywords": ["jquery", "plugins", "input", "form", "inputmask", "mask"],
"homepage": "http://robinherbots.github.io/Inputmask",
@@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 3.3.7-28
+* Version: 3.3.7-29
*/
!function(factory) {
"function" == typeof define && define.amd ? define(function() {
@@ -53,7 +53,7 @@
processedValue;
},
onUnMask: function(maskedValue, unmaskedValue, opts) {
- return unmaskedValue;
+ return maskedValue.replace(/[()#-]/g, "");
inputmode: "tel"
}
!function(modules) {
@@ -2652,7 +2652,7 @@
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):window.dependencyLib=a(jQuery)}(function(a){return a});
"function"==typeof define&&define.amd?define(function(){return document}):"object"==typeof exports&&(module.exports=document);
"function"==typeof define&&define.amd?define(function(){return window}):"object"==typeof exports&&(module.exports=window);
@@ -109,8 +109,8 @@
return processedValue;
onUnMask: function (maskedValue, unmaskedValue, opts) {
- //implement me
+ var unmasked = maskedValue.replace(/[()#-]/g, "");
+ return unmasked;
inputmode: "tel",
"main": "index.js",
"files": [