Skip to content
Snippets Groups Projects
Commit c494798a authored by gpawel's avatar gpawel
Browse files

bugfix: better drop down list behavior

SVN: 23159
parent 52fd5c6d
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,7 @@ abstract public class DropDownList<M extends ModelData, E> extends ComboBox<M> i ...@@ -153,7 +153,7 @@ abstract public class DropDownList<M extends ModelData, E> extends ComboBox<M> i
String v = comboBox.getRawValue(); String v = comboBox.getRawValue();
// WORKAROUND: (GXT2.1) only one option in the list when something // WORKAROUND: (GXT2.1) only one option in the list when something
// selected and trigger field clicked // selected and trigger field clicked
if (StringUtils.isBlank(v)) if (StringUtils.isBlank(v) || comboBox.isExpanded() == false)
{ {
return true; return true;
} }
...@@ -167,7 +167,6 @@ abstract public class DropDownList<M extends ModelData, E> extends ComboBox<M> i ...@@ -167,7 +167,6 @@ abstract public class DropDownList<M extends ModelData, E> extends ComboBox<M> i
} }
return false; return false;
} }
}; };
ListStore<M> newStore = new ListStore<M>() ListStore<M> newStore = new ListStore<M>()
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment