react-input-mask
Advanced tools
Comparing version 0.7.8 to 0.7.9
@@ -480,3 +480,3 @@ // https://github.com/sanniassin/react-input-mask | ||
} | ||
if (mask.mask && this.isEmpty(newValue) && !showEmpty && !this.hasValue) { | ||
if (mask.mask && this.isEmpty(newValue) && !showEmpty && (!this.hasValue || !nextProps.value)) { | ||
newValue = ""; | ||
@@ -483,0 +483,0 @@ } |
@@ -473,3 +473,3 @@ // https://github.com/sanniassin/react-input-mask | ||
} | ||
if (mask.mask && this.isEmpty(newValue) && !showEmpty && !this.hasValue) { | ||
if (mask.mask && this.isEmpty(newValue) && !showEmpty && (!this.hasValue || !nextProps.value)) { | ||
newValue = ""; | ||
@@ -476,0 +476,0 @@ } |
{ | ||
"name": "react-input-mask", | ||
"description": "Masked input component for React", | ||
"version": "0.7.8", | ||
"version": "0.7.9", | ||
"homepage": "https://github.com/sanniassin/react-input-mask", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
84283