react-input-mask
Advanced tools
Comparing version 0.6.6 to 0.6.7
@@ -413,3 +413,3 @@ // https://github.com/sanniassin/react-input-mask | ||
if (this.props.alwaysShowMask || value) { | ||
if (this.mask && (this.props.alwaysShowMask || value)) { | ||
value = this.formatValue(value); | ||
@@ -439,2 +439,6 @@ } | ||
if (!this.mask) { | ||
return; | ||
} | ||
var newValue = nextProps.value != null ? this.getStringValue(nextProps.value) : this.state.value; | ||
@@ -441,0 +445,0 @@ |
@@ -405,3 +405,3 @@ // https://github.com/sanniassin/react-input-mask | ||
if (this.props.alwaysShowMask || value) { | ||
if (this.mask && (this.props.alwaysShowMask || value)) { | ||
value = this.formatValue(value); | ||
@@ -430,2 +430,6 @@ } | ||
if (!this.mask) { | ||
return; | ||
} | ||
var newValue = nextProps.value != null | ||
@@ -432,0 +436,0 @@ ? this.getStringValue(nextProps.value) |
{ | ||
"name": "react-input-mask", | ||
"description": "Masked input component for React", | ||
"version": "0.6.6", | ||
"version": "0.6.7", | ||
"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
76653
1899