@syncfusion/ej2-inputs
Advanced tools
Comparing version 21.2.4 to 21.2.6
@@ -5,2 +5,8 @@ # Changelog | ||
### Uploader | ||
#### Bug Fixes | ||
- `#I460888` - Issue with "Console error occurs when deleting files after data load" has been resolved. | ||
## 21.1.38 (2023-04-04) | ||
@@ -7,0 +13,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 21.2.4 | ||
* version : 21.2.6 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-inputs@*", | ||
"_id": "@syncfusion/ej2-inputs@21.2.3", | ||
"_id": "@syncfusion/ej2-inputs@21.2.4", | ||
"_inBundle": false, | ||
"_integrity": "sha512-Gr4IckrQjZQkTVZ2idbB9FyAyyAQKHyN8oAMgCqWDPClsvzyPbGEDbBxS0XEF3UnVDy0QdyOVZBMPVPXr4Vfzw==", | ||
"_integrity": "sha512-pz+63zCejeyIkA39rJIsIvsW420LIgvzOgUFuddToHJYLRhud5Vl1pglmyu7pLyrIAZrL47e6Z7XuSOdbeyN3A==", | ||
"_location": "/@syncfusion/ej2-inputs", | ||
@@ -42,4 +42,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-21.2.3.tgz", | ||
"_shasum": "f7f14636699c19cf885745107708e06b1112baa4", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-21.2.4.tgz", | ||
"_shasum": "2492c6485b855591b3f049b8493b531e2f472408", | ||
"_spec": "@syncfusion/ej2-inputs@*", | ||
@@ -53,5 +53,5 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included", | ||
"@syncfusion/ej2-base": "~21.2.3", | ||
"@syncfusion/ej2-buttons": "~21.2.3", | ||
"@syncfusion/ej2-buttons": "~21.2.6", | ||
"@syncfusion/ej2-popups": "~21.2.4", | ||
"@syncfusion/ej2-splitbuttons": "~21.2.3" | ||
"@syncfusion/ej2-splitbuttons": "~21.2.5" | ||
}, | ||
@@ -124,5 +124,5 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "21.2.4", | ||
"version": "21.2.6", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -246,8 +246,10 @@ /* eslint-disable valid-jsdoc, jsdoc/require-jsdoc, jsdoc/require-returns, jsdoc/require-param */ | ||
function updateIconState(value, button, readonly) { | ||
if (value && !readonly) { | ||
removeClass([button], CLASSNAMES.CLEARICONHIDE); | ||
if (!isNullOrUndefined(button)) { | ||
if (value && !readonly) { | ||
removeClass([button], CLASSNAMES.CLEARICONHIDE); | ||
} | ||
else { | ||
addClass([button], CLASSNAMES.CLEARICONHIDE); | ||
} | ||
} | ||
else { | ||
addClass([button], CLASSNAMES.CLEARICONHIDE); | ||
} | ||
} | ||
@@ -306,3 +308,3 @@ function updateLabelState(value, label, element) { | ||
function wireClearBtnEvents(element, button, container) { | ||
if (isBindClearAction === undefined || isBindClearAction) { | ||
if (!isNullOrUndefined(button) && (isBindClearAction === undefined || isBindClearAction)) { | ||
button.addEventListener('click', function (event) { | ||
@@ -330,3 +332,6 @@ if (!(element.classList.contains(CLASSNAMES.DISABLE) || element.readOnly)) { | ||
setTimeout(function () { | ||
addClass([button], CLASSNAMES.CLEARICONHIDE); | ||
if (!isNullOrUndefined(button)) { | ||
addClass([button], CLASSNAMES.CLEARICONHIDE); | ||
button = !isNullOrUndefined(element) && element.classList.contains('e-combobox') ? null : button; | ||
} | ||
}, 200); | ||
@@ -333,0 +338,0 @@ }); |
@@ -323,5 +323,9 @@ var __extends = (this && this.__extends) || (function () { | ||
setMaskValue.call(this, this.value); | ||
if (this.placeholder) { | ||
if (this.placeholder && !this.isFocus) { | ||
this.setMaskPlaceholder(false, false); | ||
} | ||
if (this.value === "") { | ||
this.element.selectionStart = 0; | ||
this.element.selectionEnd = 0; | ||
} | ||
break; | ||
@@ -420,2 +424,3 @@ case 'placeholder': | ||
if (document.activeElement !== this.element && this.enabled) { | ||
this.isFocus = true; | ||
this.element.focus(); | ||
@@ -432,2 +437,3 @@ addClass([this.inputObj.container], [MASKINPUT_FOCUS]); | ||
if (document.activeElement === this.element && this.enabled) { | ||
this.isFocus = false; | ||
this.element.blur(); | ||
@@ -434,0 +440,0 @@ removeClass([this.inputObj.container], [MASKINPUT_FOCUS]); |
Sorry, the diff of this file is too big to display
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
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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22115724
290894