@syncfusion/ej2-inputs 25.1.40 → 25.2.3

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.
@@ -9569,7 +9569,8 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
9569
9569
  allowedExtensions.push(extension.trim().toLocaleLowerCase());
9570
9570
  }
9571
9571
  for (var i = 0; i < files.length; i++) {
9572
- if (allowedExtensions.indexOf(('.' + files[i].type).toLocaleLowerCase()) === -1) {
9572
+ var checkFileType = files[i].type.indexOf(".") !== -1 ? files[i].type.replace(".", "") : files[i].type;
9573
+ if (allowedExtensions.indexOf(('.' + checkFileType).toLocaleLowerCase()) === -1) {
9573
9574
  files[i].status = this.localizedTexts('invalidFileType');
9574
9575
  files[i].statusCode = '0';
9575
9576
  }