From 040d8b1c89e6034240e2d7898674e5cb8bf8e974 Mon Sep 17 00:00:00 2001 From: tsv2013 Date: Mon, 18 Dec 2023 10:26:48 +0300 Subject: [PATCH] Work for #337 - Inputmask - Include the unmaskAsNumber property into a custom widget's definition - changed defaulr value to fale --- src/inputmask.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/inputmask.js b/src/inputmask.js index 6f9826f..73182e0 100644 --- a/src/inputmask.js +++ b/src/inputmask.js @@ -23,7 +23,7 @@ function init(Survey) { autoUnmask: true, clearIncomplete: true, showMaskOnHover: true, - unmaskAsNumber: true, + unmaskAsNumber: false, widgetIsLoaded: function () { return typeof Inputmask != "undefined"; }, @@ -89,7 +89,6 @@ function init(Survey) { name: "unmaskAsNumber:boolean", category: "general", visible: false, - default: true, }, { name: "prefix",