@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.
@@ -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
- var inputElement = this.element.cloneNode(true);
9210
- inputElement.classList.add(HIDDEN_INPUT);
9211
- for (var _i = 0, fileData_3 = fileData; _i < fileData_3.length; _i++) {
9212
- var listItem = fileData_3[_i];
9213
- listItem.input = inputElement;
9214
- }
9215
- inputElement.setAttribute('name', this.uploaderName);
9216
- this.uploadWrapper.querySelector('.' + INPUT_WRAPPER).appendChild(inputElement);
9217
- if (this.browserName !== 'msie' && this.browserName !== 'edge') {
9218
- this.element.value = '';
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') {