In my project, it seems that if I allow webfileuploader to select multiple files (setting zero in file count property), then the uploadfinished event is fired twice.
did anybody notice this ?
this is a test project
if you add one file, it is displayed in the listbox
if you add more than one file, they are displayed twice in the listbox
test-webfileuploader.xojo_binary_project.zip (8.8 KB)
edit: report : https://tracker.xojo.com/xojoinc/xojo/-/issues/78930
Followup : in the issue link, Ricardo gave a workaround using a timer.
and we agreed to change it as a feature request to have an array of files as fileadded parameter.
test-webfileuploader-with-timer.xojo_binary_project.zip (9.3 KB)
I also could make a workaround using a flag property, to check if the button has been pressed.