From 3e48092c604e07d0f7be02f97a26f2f0a9a6997f Mon Sep 17 00:00:00 2001 From: Gleb Gorelov Date: Wed, 28 Oct 2015 08:20:06 +0000 Subject: [PATCH] Null Option is not visible after screen loading #PL-6134 --- .../haulmont/cuba/desktop/gui/components/DesktopLookupField.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopLookupField.java b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopLookupField.java index 6de111309d..82238a6a70 100644 --- a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopLookupField.java +++ b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopLookupField.java @@ -295,6 +295,7 @@ public class DesktopLookupField extends DesktopAbstractOptionsField public void setNullOption(Object nullOption) { this.nullOption = nullOption; autoComplete.setFirstItem(new NullOption()); + setValue(null); optionsInitialized = false; }