Hello, your UploadButton is not visible in the GUI if running with Vaadin 8

Hello, your UploadButton is not visible in the GUI if running with Vaadin 8.11.0. Previous Vaadin version 8.10.5 is fine with it.

The only difference in generated code is this line:

Vaadin 8.11.0 generates:

<div tabindex="0" role="button" class="v-button" style="display: none;" aria-hidden="true">

Vaadin 8.10.5 generates:

<div tabindex="0" role="button" class="v-button">

It seems that the issue is not in the addon, but in the actual Upload component https://github.com/vaadin/framework/issues/12031

I’d say the issue is with the add-on. At least in a trivial test case the standard Framework Upload works just fine with 8.11.1, but the UploadButton from this add-on is being hidden and the button caption is not set. Is the add-on using connector handling copied from some older version of the framework? Since that would explain why and how it’s broken.

Yes, 8.11 changed handling of the state a bit, I have done the fix in version 0.1.1.

Thank you for your fix. Now it is working correctly (Vaadin 8.11.1, UploadButton 0.1.1).

I’ve found one bug - button’s customized caption is ignored. It is always “Upload”. Can you please check it again?