From dfd1f04f4f56f09d8487cf08abef2fc17d5c4169 Mon Sep 17 00:00:00 2001 From: Artur Date: Thu, 20 Apr 2017 13:14:05 +0300 Subject: Fix changing primary style name for NativeSelect (#9016) --- client/src/main/java/com/vaadin/client/ui/VNativeSelect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java b/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java index 46df030f95..d838d9b3dd 100644 --- a/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java +++ b/client/src/main/java/com/vaadin/client/ui/VNativeSelect.java @@ -44,7 +44,7 @@ public class VNativeSelect extends FocusableFlowPanelComposite @Override public void setStylePrimaryName(String style) { super.setStylePrimaryName(style); - setStylePrimaryName(listBox.getElement(), style); + getListBox().setStyleName(style + "-select"); } /** -- cgit v1.2.3