You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[upload] Create slotted elements in light DOM instead of using fallback content #4281
We would like to make it easier for Flow users to access the content of the vaadin-upload named slots:
"add-button"
"drop-label"
"drop-label-icon"
This would require using the same approach as we implemented for vaadin-crud in #3106 by using SlotMixin to create initial content for all of the corresponding slots, and then propagating i18n strings to set their text content.
Describe the solution you'd like
Update vaadin-upload to use SlotMixin or preferably SlotController (we should eventually only have one)
Make it possible to distinguish the default elements from the custom ones to decide whether to apply i18n
Note: this is a breaking changes because moving fallback content to light DOM means removing following parts:
Activity