We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f15cf5e commit 939056fCopy full SHA for 939056f
app/code/Magento/Ui/view/base/web/js/form/element/file-uploader.js
@@ -333,7 +333,8 @@ define([
333
* @param {Object} data - File data that will be uploaded.
334
*/
335
onFilesChoosed: function (event, data) {
336
- // no option exists in file uploader for restricting upload chains to single files; this enforces that policy
+ // no option exists in file uploader for restricting upload chains to single files
337
+ // this enforces that policy
338
if (!this.isMultipleFiles) {
339
data.files.splice(1);
340
}
0 commit comments