web-components icon indicating copy to clipboard operation
web-components copied to clipboard

[upload] Implement theme attribute propagation

Open javier-godoy opened this issue 5 years ago • 1 comments

Description

Implement theme attribute propagation for vaadin-file-upload items inside of vaadin-upload

Expected outcome

The theme attribute of vaadin-upload should be propagated into the vaadin-file-upload items.

Actual outcome

The theme attribute is not propagated.

image

Steps to reproduce

Try the following example;

Upload upload = new Upload();
upload.getElement().getThemeList().add("custom-theme");
upload.setMaxFiles(100);
upload.setAutoUpload(false);
add(upload);

javier-godoy avatar Apr 27 '20 14:04 javier-godoy

In Vaadin 24 we moved vaadin-upload-file elements to light DOM in https://github.com/vaadin/web-components/pull/4870. So they can be styled using regular CSS now.

web-padawan avatar Apr 04 '24 12:04 web-padawan

Closing per above comment as there is no need for theme attribute propagation in the V24 version of the component.

web-padawan avatar Mar 31 '25 12:03 web-padawan