@syncfusion/ej2-inputs
Advanced tools
Comparing version 16.1.38 to 16.1.40
@@ -5,2 +5,11 @@ # Changelog | ||
### MaskedTextBox | ||
#### Bug Fixes | ||
- While copying a text and hold the “Ctrl + v” on the MaskedTextBox with number mask, value is not updating properly | ||
along with script error issue has been fixed. | ||
## 16.1.38 (2018-05-02) | ||
### Uploader | ||
@@ -7,0 +16,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 16.1.38 | ||
* version : 16.1.40 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-inputs", | ||
"version": "16.1.38", | ||
"version": "16.1.40", | ||
"description": "Essential JS 2 Input Components", | ||
@@ -5,0 +5,0 @@ "author": "Syncfusion Inc.", |
@@ -263,2 +263,11 @@ define(["require", "exports", "@syncfusion/ej2-base", "../../input/input"], function (require, exports, ej2_base_1, input_1) { | ||
_this.maskKeyPress = false; | ||
if (_this.element.value === oldValue_1) { | ||
var i_1 = 0; | ||
_this.maskKeyPress = true; | ||
do { | ||
validateValue.call(_this, value[i_1], false, null); | ||
++i_1; | ||
} while (i_1 < value.length); | ||
_this.maskKeyPress = false; | ||
} | ||
}, 1); | ||
@@ -547,6 +556,12 @@ } | ||
} | ||
function validateValue(key, isCtrlKey, event) { | ||
function mobileValidation(key) { | ||
if (!this.maskKeyPress) { | ||
mobileSwipeCheck.call(this, key); | ||
} | ||
} | ||
function validateValue(key, isCtrlKey, event) { | ||
mobileValidation.call(this, key); | ||
if (ej2_base_1.isNullOrUndefined(this) || ej2_base_1.isNullOrUndefined(key)) { | ||
return; | ||
} | ||
var startIndex = this.element.selectionStart; | ||
@@ -553,0 +568,0 @@ var initStartIndex = startIndex; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
13365108
119397