From: Artur Signell Date: Thu, 24 Sep 2009 06:25:11 +0000 (+0000) Subject: Fix for #3383 - ComboBox input prompt style is removed when input prompt is active X-Git-Tag: 6.7.0.beta1~2467^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dd7c498e036537572508ac3738dbdda5f9612b75;p=vaadin-framework.git Fix for #3383 - ComboBox input prompt style is removed when input prompt is active svn changeset:8896/svn branch:6.1 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java index 998abc157f..5b834f9f4d 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java @@ -744,6 +744,12 @@ public class VFilterSelect extends Composite implements Paintable, Field, && uidl.getStringArrayVariable("selected").length == 0) { // select nulled if (!filtering || !popupOpenerClicked) { + /* + * client.updateComponent overwrites all styles so we must + * ALWAYS set the prompting style at this point, even though we + * think it has been set already... + */ + prompting = false; setPromptingOn(); } selectedOptionKey = null;