I’m having issues using the Vaadin Upload component.
Whatever I try, it’s not rendering on the page.
I first tried it on a Dialog, and now directly on a form, but it doesn’t work.
I just create MemoryBuffer, then a Upload component, add a SucceededListener and add it to the form.
That looks fine (the same code works like a charm for me in a FormLayout and in a Dialog). Not sure what might be the issue here. You might want to try with a fresh starter project to check whether the problem is somehow specific to this project’s setup.
It’s strange.
When I add this:
upload.setUploadButton(new Button(“Upload”));
then I do see that button, so something is rendering of that component.
I just also tried upgrading to 14.4.0, but that didn’t change it either.
I think the classpath also looks OK.
.m2/repository/com/vaadin/vaadin-upload-flow/2.3.0/vaadin-upload-flow-2.3.0.jar
.m2/repository/org/webjars/bowergithub/vaadin/vaadin-upload/4.4.0/vaadin-upload-4.4.0.jar
It’s just strange that there is nothing in the tag when I inspect it.