@syncfusion/ej2-inputs 26.1.35-717925 → 26.1.35-723781
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-inputs.umd.min.js +1 -1
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +2 -1
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +2 -1
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/package.json +1 -1
- package/src/input/input.js +1 -1
- package/src/numerictextbox/numerictextbox.js +1 -0
package/package.json
CHANGED
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
|
|
120
120
|
},
|
|
121
121
|
"typings": "index.d.ts",
|
|
122
|
-
"version": "26.1.35-
|
|
122
|
+
"version": "26.1.35-723781",
|
|
123
123
|
"sideEffects": false,
|
|
124
124
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
125
125
|
}
|
package/src/input/input.js
CHANGED
|
@@ -613,7 +613,7 @@ export var Input;
|
|
|
613
613
|
if (parentElement.classList.contains(CLASSNAMES.FLOATINPUT)) {
|
|
614
614
|
if (!isNullOrUndefined(placeholder) && placeholder !== '') {
|
|
615
615
|
var floatTextContent = parentElement.getElementsByClassName('e-float-text-content')[0];
|
|
616
|
-
if (floatTextContent) {
|
|
616
|
+
if (floatTextContent && floatTextContent.children[0]) {
|
|
617
617
|
floatTextContent.children[0].textContent = placeholder;
|
|
618
618
|
}
|
|
619
619
|
else {
|
|
@@ -750,6 +750,7 @@ var NumericTextBox = /** @class */ (function (_super) {
|
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
752
|
this.inputValue = value;
|
|
753
|
+
this.changeValue(value === null || isNaN(value) ? null : this.strictMode ? this.trimValue(value) : value);
|
|
753
754
|
if (!(this.isVue && this.element && this.element.hasAttribute('modelvalue') && this.isDynamicChange)) {
|
|
754
755
|
this.changeValue(value === null || isNaN(value) ? null : this.strictMode ? this.trimValue(value) : value);
|
|
755
756
|
}
|