Skip to content

Commit a6bd575

Browse files
committed
Merge branch 'master' of https://github.com/surveyjs/widgets
2 parents 48c9a22 + 8d2be6f commit a6bd575

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
<a name="1.0.39"></a>
6+
## [1.0.39](https://github.com/surveyjs/widgets/compare/v1.0.38...v1.0.39) (2018-08-21)
7+
8+
9+
510
<a name="1.0.38"></a>
611
## [1.0.38](https://github.com/surveyjs/widgets/compare/v1.0.37...v1.0.38) (2018-08-17)
712

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": "1.0.38",
3+
"version": "1.0.39",
44
"scripts": {
55
"start": "npm run build && live-server",
66
"watch": "webpack --env.buildType dev --watch",

src/inputmask.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ function init(Survey) {
99
numericDigitsOptional: false,
1010
numericPrefix: "$",
1111
numericPlaceholder: "0",
12+
autoUnmask: true,
1213
widgetIsLoaded: function() {
1314
return typeof Inputmask != "undefined";
1415
},
@@ -51,7 +52,9 @@ function init(Survey) {
5152
surveyElement.inputMask != "none"
5253
? surveyElement.inputMask
5354
: surveyElement.inputFormat;
54-
var options = {};
55+
var options = {
56+
autoUnmask: rootWidget.autoUnmask
57+
};
5558
if (surveyElement.inputMask != "none")
5659
options.inputFormat = surveyElement.inputFormat;
5760

0 commit comments

Comments
 (0)