hello,
I test multiupload.
1- when you upload 3 files -> ok
then you upload 1 file without closing window -> it detect 3 files (2 are nil). Problem of initialisation i think but it is not important as i can test.
2 - you put a maximum size of a file (x).
you add 4 files. the third has a size>x
the component upload file1 and 2 and then put an error message and stop. Nothing is upload.
so you put the 3 others which size is <x and then ... no windows, noth
Can you try this hasty workaround?
procedure TMainForm.UniFormReady(Sender: TObject);
begin
UniFileUploadButton1.JSInterface.JSCode(#1+
'.fileInputEl.addBeforeListener("change", function(a, b) {'+
' isValid = true;'+
' for (i = 0; i < b.files.length; i++) {'+
' if (b.files[i].size > '#1'.maxSize) {'+
' isValid = false;'+
' Ext.MessageBox.show({'+
' title: "MaxSize = " + '#1'.maxSize,'+