diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/nativeselect/NativeSelectState.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/nativeselect/NativeSelectState.java b/shared/src/main/java/com/vaadin/shared/ui/nativeselect/NativeSelectState.java index c33cc66f82..86872298e6 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/nativeselect/NativeSelectState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/nativeselect/NativeSelectState.java @@ -15,6 +15,7 @@ */ package com.vaadin.shared.ui.nativeselect; +import com.vaadin.shared.annotations.DelegateToWidget; import com.vaadin.shared.ui.AbstractSingleSelectState; /** @@ -43,6 +44,9 @@ public class NativeSelectState extends AbstractSingleSelectState { */ public String emptySelectionCaption = ""; + @DelegateToWidget + public int visibleItemCount = 1; + { primaryStyleName = STYLE_NAME; } |