@syncfusion/ej2-inputs 24.2.5 → 24.2.7

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.
@@ -8659,12 +8659,14 @@ let Uploader = class Uploader extends Component {
8659
8659
  if (event.type === 'paste' && this.browserName !== 'msie' && this.browserName !== 'edge' && this.browserName !== 'safari') {
8660
8660
  this.element.files = event.clipboardData.files;
8661
8661
  }
8662
- if (item.length !== 1) {
8662
+ if (item.length !== 1 && !this.multiple) {
8663
8663
  return;
8664
8664
  }
8665
- const pasteFile = [].slice.call(item)[0];
8666
- if ((pasteFile.kind === 'file') && pasteFile.type.match('^image/')) {
8667
- this.renderSelectedFiles(event, [pasteFile.getAsFile()], false, true);
8665
+ for (let file = 0; file < item.length; file++) {
8666
+ const pasteFile = [].slice.call(item)[file];
8667
+ if ((pasteFile.kind === 'file') || pasteFile.type.match('^image/')) {
8668
+ this.renderSelectedFiles(event, [pasteFile.getAsFile()], false, true);
8669
+ }
8668
8670
  }
8669
8671
  }
8670
8672
  getSelectedFiles(index) {
@@ -9881,6 +9883,9 @@ let Uploader = class Uploader extends Component {
9881
9883
  (this.getLiElement(file)).classList.remove(RESTRICT_RETRY);
9882
9884
  }
9883
9885
  }
9886
+ else if (!this.showFileList) {
9887
+ this.checkActionComplete(true);
9888
+ }
9884
9889
  });
9885
9890
  }
9886
9891
  uploadFailed(e, file) {