@syncfusion/ej2-inputs 27.1.58 → 27.2.4

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.
@@ -1873,8 +1873,10 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
1873
1873
  this.setElementValue(elementValue);
1874
1874
  attributes(this.element, { 'aria-valuenow': value });
1875
1875
  this.hiddenInput.value = this.value.toString();
1876
- if (this.value !== null && this.serverDecimalSeparator) {
1877
- this.hiddenInput.value = this.hiddenInput.value.replace('.', this.serverDecimalSeparator);
1876
+ if (!isNullOrUndefined(this.hiddenInput)) {
1877
+ if (this.value !== null && this.serverDecimalSeparator) {
1878
+ this.hiddenInput.value = this.hiddenInput.value.replace('.', this.serverDecimalSeparator);
1879
+ }
1878
1880
  }
1879
1881
  }
1880
1882
  else {
@@ -10811,6 +10813,9 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
10811
10813
  chunkSize: this.asyncSettings.chunkSize
10812
10814
  };
10813
10815
  this.abortUpload(metaData, custom, eventArgs);
10816
+ if (this.sequentialUpload) {
10817
+ this.uploadSequential();
10818
+ }
10814
10819
  };
10815
10820
  Uploader.prototype.abortUpload = function (metaData, custom, eventArgs) {
10816
10821
  if (metaData.file.statusCode !== '4') {
@@ -11186,6 +11191,8 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
11186
11191
  };
11187
11192
  this.trigger('beforeUpload', eventArgs, function (eventArgs) {
11188
11193
  if (!eventArgs.cancel) {
11194
+ _this.customFormDatas = (eventArgs.customFormData && eventArgs.customFormData.length > 0) ?
11195
+ eventArgs.customFormData : _this.customFormDatas;
11189
11196
  _this.uploadFiles(uploadFiles_1, custom);
11190
11197
  }
11191
11198
  });
@@ -11291,6 +11298,9 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
11291
11298
  if (eventArgs.cancel) {
11292
11299
  _this.eventCancelByArgs(e, eventArgs, selectedFiles[i]);
11293
11300
  }
11301
+ if (_this.customFormDatas && _this.customFormDatas.length > 0) {
11302
+ _this.updateFormData(formData, _this.customFormDatas);
11303
+ }
11294
11304
  _this.updateFormData(formData, eventArgs.customFormData);
11295
11305
  });
11296
11306
  };
@@ -14155,7 +14165,7 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
14155
14165
  var prevOnChange = this.isProtectedOnChange;
14156
14166
  this.isProtectedOnChange = true;
14157
14167
  this.value = value;
14158
- if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input')) {
14168
+ if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input') && !(this.floatLabelType === 'Always' && this.textboxWrapper.container.classList.contains('e-outline'))) {
14159
14169
  this.textboxWrapper.container.classList.remove('e-valid-input');
14160
14170
  }
14161
14171
  this.isProtectedOnChange = prevOnChange;
@@ -15110,7 +15120,7 @@ var TextArea = /** @__PURE__ @class */ (function (_super) {
15110
15120
  var prevOnChange = this.isProtectedOnChange;
15111
15121
  this.isProtectedOnChange = true;
15112
15122
  this.value = value;
15113
- if (value == null && this.textareaWrapper.container.classList.contains('e-valid-input')) {
15123
+ if (value == null && this.textareaWrapper.container.classList.contains('e-valid-input') && !(this.floatLabelType === 'Always' && this.textareaWrapper.container.classList.contains('e-outline'))) {
15114
15124
  this.textareaWrapper.container.classList.remove('e-valid-input');
15115
15125
  }
15116
15126
  this.isProtectedOnChange = prevOnChange;