Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Aug 25, 2018
2 parents 48c9a22 + 8d2be6f commit a6bd575
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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.

<a name="1.0.39"></a>
## [1.0.39](https://github.com/surveyjs/widgets/compare/v1.0.38...v1.0.39) (2018-08-21)



<a name="1.0.38"></a>
## [1.0.38](https://github.com/surveyjs/widgets/compare/v1.0.37...v1.0.38) (2018-08-17)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "surveyjs-widgets",
"version": "1.0.38",
"version": "1.0.39",
"scripts": {
"start": "npm run build && live-server",
"watch": "webpack --env.buildType dev --watch",
Expand Down
5 changes: 4 additions & 1 deletion src/inputmask.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ function init(Survey) {
numericDigitsOptional: false,
numericPrefix: "$",
numericPlaceholder: "0",
autoUnmask: true,
widgetIsLoaded: function() {
return typeof Inputmask != "undefined";
},
Expand Down Expand Up @@ -51,7 +52,9 @@ function init(Survey) {
surveyElement.inputMask != "none"
? surveyElement.inputMask
: surveyElement.inputFormat;
var options = {};
var options = {
autoUnmask: rootWidget.autoUnmask
};
if (surveyElement.inputMask != "none")
options.inputFormat = surveyElement.inputFormat;

Expand Down

0 comments on commit a6bd575

Please sign in to comment.