awesome-mask
Advanced tools
Comparing version 1.0.10 to 1.1.1
@@ -38,3 +38,3 @@ 'use strict'; | ||
if (mask === 'money') { | ||
input.value = _vanillaMasker2.default.toMoney(input.value); | ||
input.value = _vanillaMasker2.default.toMoney(input.value, { showSignal: true }); | ||
} else { | ||
@@ -41,0 +41,0 @@ input.value = mask && mask.length > 0 ? _vanillaMasker2.default.toPattern(input.value, mask) : input.value; |
@@ -22,3 +22,3 @@ 'use strict'; | ||
if (isMoney && inputText.value.length > 0) { | ||
inputText.value = _vanillaMasker2.default.toMoney(inputText.value); | ||
inputText.value = _vanillaMasker2.default.toMoney(inputText.value, { showSignal: true }); | ||
} else { | ||
@@ -25,0 +25,0 @@ inputText.value = mask && mask.length > 0 ? _vanillaMasker2.default.toPattern(inputText.value, mask) : inputText.value; |
{ | ||
"name": "awesome-mask", | ||
"version": "1.0.10", | ||
"version": "1.1.1", | ||
"description": "An awesome mask directive for Vue.js using vanilla-masker from `https://github.com/BankFacil/vanilla-masker`", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"vanilla-masker": "^1.0.9", | ||
"vanilla-masker": "^1.2.0", | ||
"vue": "^2.0.1" | ||
@@ -14,0 +14,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8214
Updatedvanilla-masker@^1.2.0