Skip to content

Commit 2ac3abf

Browse files
fixed inputmask widget
1 parent 8b87a28 commit 2ac3abf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "surveyjs-widgets",
3-
"version": "0.12.40",
3+
"version": "0.12.49",
44
"scripts": {
55
"start": "npm run build && live-server",
66
"prebuild": "webpack --env.buildType dev",

src/inputmask.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ function init(Survey) {
2525
var mask = surveyElement.inputMask != "none" ? surveyElement.inputMask : surveyElement.inputFormat;
2626
var options = {};
2727
if(surveyElement.inputMask != "none") options.inputFormat = surveyElement.inputFormat;
28-
if(surveyElement.inputmask == "currency" || surveyElement.inputmask == "decimal") {
28+
if(surveyElement.inputMask == "currency" || surveyElement.inputMask == "decimal") {
2929
options.groupSeparator = rootWidget.numericGroupSeparator;
3030
options.autoGroup = rootWidget.numericAutoGroup;
3131
}
32-
if(surveyElement.inputmask == "currency") {
32+
if(surveyElement.inputMask == "currency") {
3333
options.digits = rootWidget.numericDigits;
3434
options.digitsOptional = rootWidget.numericDigitsOptional;
3535
options.prefix = rootWidget.numericPrefix;

0 commit comments

Comments
 (0)