You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a straightforward way to find out if there are files queued for transfer in the Vaadin Upload component.
Describe the solution you'd like
For applications that do not use Auto-Upload, there is no easy way to tell if a user has added files to the queue but not yet initiated the transfer. A possible solution would be to add the following method the Java API:
Upload.getQueuedUploads()
Describe alternatives you've considered
As a workaround, we currently use JavaScript to check the length of the queue, but this requires an asynchronous callback, which is not ideal:
Adding this functionality will make it much easier to warn users if they queue files for upload but forget to initiate the transfer before navigating away from the page.
The text was updated successfully, but these errors were encountered:
Describe your motivation
We need a straightforward way to find out if there are files queued for transfer in the Vaadin Upload component.
Describe the solution you'd like
For applications that do not use Auto-Upload, there is no easy way to tell if a user has added files to the queue but not yet initiated the transfer. A possible solution would be to add the following method the Java API:
Describe alternatives you've considered
As a workaround, we currently use JavaScript to check the length of the queue, but this requires an asynchronous callback, which is not ideal:
Additional context
Adding this functionality will make it much easier to warn users if they queue files for upload but forget to initiate the transfer before navigating away from the page.
The text was updated successfully, but these errors were encountered: