diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2018-06-18 13:28:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-18 13:28:07 +0200 |
commit | 4608a53c7acaeb46f4f6c89c3f81b2b7e6248164 (patch) | |
tree | f03efecb18be7eaf10f89ef587dfa024f422f7cd /shared | |
parent | b8ed19d5e5597ebb82a4cdd53a941ca4dd06065f (diff) | |
download | vaadin-framework-4608a53c7acaeb46f4f6c89c3f81b2b7e6248164.tar.gz vaadin-framework-4608a53c7acaeb46f4f6c89c3f81b2b7e6248164.zip |
Add ACCEPT attribute to Upload (#10906)
Fixes #2410
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java index 70217c28a5..217946391c 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java @@ -16,6 +16,8 @@ package com.vaadin.shared.ui.upload; import com.vaadin.shared.AbstractComponentState; +import com.vaadin.shared.annotations.DelegateToWidget; +import com.vaadin.shared.annotations.NoLayout; /** * Shared state for the Upload component. @@ -30,4 +32,8 @@ public class UploadState extends AbstractComponentState { { primaryStyleName = "v-upload"; } + + @DelegateToWidget + @NoLayout + public String acceptMimeTypes; } |