Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 3 days ago
Upload caption update does not work
Hello,
I need to update the Upload field caption. Calling setCaption method does not work.
Is there another way to do this ?
Thanks.
Last updated on
I guess this is just for the toggle button itself. I need to change the upload field's label.
As in the sample :
Upload upload = new Upload("Upload it here", receiver);
I would like to change "Upload it here" label. This might be done using setCaption() method, isn't it ?
Last updated on
The problem is fixed. There were a bug, setCaption was not called on the Upload component but on the parent abstract component.
Last updated on
You cannot reply to this thread.