@syncfusion/ej2-inputs 20.1.47 → 20.1.48
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 +2 -2
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +18 -9
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +19 -10
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +2 -2
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/textbox/textbox-model.d.ts +1 -1
- package/src/textbox/textbox.js +8 -1
- package/src/uploader/uploader.js +12 -10
|
@@ -9206,16 +9206,18 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
9206
9206
|
fileList.classList.add(INVALID_FILE);
|
|
9207
9207
|
};
|
|
9208
9208
|
Uploader.prototype.createFormInput = function (fileData) {
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
var
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
this.
|
|
9209
|
+
if (this.browserName !== 'safari') {
|
|
9210
|
+
var inputElement = this.element.cloneNode(true);
|
|
9211
|
+
inputElement.classList.add(HIDDEN_INPUT);
|
|
9212
|
+
for (var _i = 0, fileData_3 = fileData; _i < fileData_3.length; _i++) {
|
|
9213
|
+
var listItem = fileData_3[_i];
|
|
9214
|
+
listItem.input = inputElement;
|
|
9215
|
+
}
|
|
9216
|
+
inputElement.setAttribute('name', this.uploaderName);
|
|
9217
|
+
this.uploadWrapper.querySelector('.' + INPUT_WRAPPER).appendChild(inputElement);
|
|
9218
|
+
if (this.browserName !== 'msie' && this.browserName !== 'edge') {
|
|
9219
|
+
this.element.value = '';
|
|
9220
|
+
}
|
|
9219
9221
|
}
|
|
9220
9222
|
};
|
|
9221
9223
|
Uploader.prototype.getFileSize = function (fileData) {
|
|
@@ -13174,6 +13176,9 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
13174
13176
|
}
|
|
13175
13177
|
this.updateHTMLAttrToElement();
|
|
13176
13178
|
this.checkAttributes(false);
|
|
13179
|
+
if ((isNullOrUndefined(this.textboxOptions) || (this.textboxOptions['value'] === undefined)) && this.element.value !== '') {
|
|
13180
|
+
this.setProperties({ value: this.element.value }, true);
|
|
13181
|
+
}
|
|
13177
13182
|
if (this.element.tagName !== 'TEXTAREA') {
|
|
13178
13183
|
this.element.setAttribute('type', this.type);
|
|
13179
13184
|
}
|
|
@@ -13471,6 +13476,10 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
13471
13476
|
this.preventChange = false;
|
|
13472
13477
|
this.trigger('change', eventArgs);
|
|
13473
13478
|
this.previousValue = this.value;
|
|
13479
|
+
//EJ2CORE-738:For this task we update the textarea value to the input when input tag with multiline is present
|
|
13480
|
+
if (this.element.tagName === 'INPUT' && this.multiline && Browser.info.name === 'mozilla') {
|
|
13481
|
+
this.element.value = this.respectiveElement.value;
|
|
13482
|
+
}
|
|
13474
13483
|
};
|
|
13475
13484
|
TextBox.prototype.bindClearEvent = function () {
|
|
13476
13485
|
if (this.showClearButton && this.respectiveElement.tagName !== 'TEXTAREA') {
|