react-input-mask
Advanced tools
Comparing version 0.7.7 to 0.7.8
@@ -827,6 +827,8 @@ // https://github.com/sanniassin/react-input-mask | ||
if (this.mask) { | ||
var handlersKeys = ["onFocus", "onBlur", "onChange", "onKeyDown", "onKeyPress", "onPaste"]; | ||
handlersKeys.forEach(function (key) { | ||
props[key] = _this7[key]; | ||
}); | ||
if (!props.disabled && !props.readOnly) { | ||
var handlersKeys = ["onFocus", "onBlur", "onChange", "onKeyDown", "onKeyPress", "onPaste"]; | ||
handlersKeys.forEach(function (key) { | ||
props[key] = _this7[key]; | ||
}); | ||
} | ||
@@ -833,0 +835,0 @@ if (props.value != null) { |
@@ -809,6 +809,8 @@ // https://github.com/sanniassin/react-input-mask | ||
if (this.mask) { | ||
var handlersKeys = ["onFocus", "onBlur", "onChange", "onKeyDown", "onKeyPress", "onPaste"]; | ||
handlersKeys.forEach((key) => { | ||
props[key] = this[key]; | ||
}); | ||
if (!props.disabled && !props.readOnly) { | ||
var handlersKeys = ["onFocus", "onBlur", "onChange", "onKeyDown", "onKeyPress", "onPaste"]; | ||
handlersKeys.forEach((key) => { | ||
props[key] = this[key]; | ||
}); | ||
} | ||
@@ -815,0 +817,0 @@ if (props.value != null) { |
{ | ||
"name": "react-input-mask", | ||
"description": "Masked input component for React", | ||
"version": "0.7.7", | ||
"version": "0.7.8", | ||
"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
84239
2036