Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
How to clear Upload-component after successful upload?
What about giving a visual feedback by changing the button caption? (setButtonCaption method)
Interesting thought, but as my users want to reuse the component for directly uploading the next file, it wouldn't be sufficient. I think I will have to recreate the component then ...
In my application, I have a extended CustomField to embed the Upload component (actually I have extended the Upload too to do a bit of customization) in it so that I can provide extra features. In my case, the uploaded file is stored in a database and it is part of the transaction. Within the CustomField, buttons are provided to view the content, remove the content, or upload new content.
Was there ever a response to this? It seems like a problem that should have an easy fix, but I can't figure this out either.