react-input-mask
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -399,4 +399,4 @@ "use strict"; | ||
if (!maskChar && value.length < mask.length) { | ||
var substr = key + value.slice(caretPos); | ||
value = this.insertRawSubstr(value, substr, caretPos); | ||
value = value.slice(0, editablePos) + key + value.slice(editablePos); | ||
value = this.insertRawSubstr("", value, 0); | ||
} else { | ||
@@ -403,0 +403,0 @@ value = this.insertRawSubstr(value, key, caretPos); |
@@ -395,4 +395,4 @@ // https://github.com/sanniassin/react-input-mask | ||
if (!maskChar && value.length < mask.length) { | ||
var substr = key + value.slice(caretPos); | ||
value = this.insertRawSubstr(value, substr, caretPos); | ||
value = value.slice(0, editablePos) + key + value.slice(editablePos); | ||
value = this.insertRawSubstr("", value, 0); | ||
} | ||
@@ -399,0 +399,0 @@ else { |
{ | ||
"name": "react-input-mask", | ||
"description": "Masked input component for React", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"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
35820