From e63b51a831676bdcc15b889c1636c0dcccbc0bc0 Mon Sep 17 00:00:00 2001 From: Pekka Hyvönen Date: Mon, 12 Dec 2016 16:32:59 +0200 Subject: Change Upload to be in immediate mode by default (#111) Fixes vaadin/framework8-issues#547 --- shared/src/main/java/com/vaadin/shared/ui/upload/UploadState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared/src') 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 6c42a50928..5245905441 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 @@ -25,7 +25,7 @@ import com.vaadin.shared.AbstractComponentState; public class UploadState extends AbstractComponentState { /** Is the upload component in immediate mode or not */ - public boolean immediateMode; + public boolean immediateMode = true; { primaryStyleName = "v-upload"; -- cgit v1.2.3