jb-date-input
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -165,2 +165,3 @@ import 'jb-calendar'; | ||
let minDate; | ||
debugger; | ||
//create min date base on input value type | ||
@@ -204,2 +205,3 @@ if (this.valueType == "GREGORIAN") { | ||
inputChar(char, pos) { | ||
this.inputRegex.lastIndex = 0; | ||
let newValueArr = this._inputValue.split(''); | ||
@@ -209,3 +211,2 @@ newValueArr[pos] = char; | ||
const res = this.inputRegex.test(newValue); | ||
this.inputRegex.lastIndex = 0; | ||
if (res) { | ||
@@ -212,0 +213,0 @@ this._inputValue = newValue; |
@@ -200,2 +200,3 @@ /* eslint-disable no-redeclare */ | ||
inputChar(char, pos) { | ||
this.inputRegex.lastIndex = 0; | ||
let newValueArr = this._inputValue.split(''); | ||
@@ -205,3 +206,2 @@ newValueArr[pos] = char; | ||
const res = this.inputRegex.test(newValue); | ||
this.inputRegex.lastIndex = 0; | ||
if (res) { | ||
@@ -208,0 +208,0 @@ this._inputValue = newValue; |
@@ -18,3 +18,3 @@ { | ||
], | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"bugs": "https://github.com/javadbat/jb-date-input/issues", | ||
@@ -21,0 +21,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
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
136196
1436