aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-client
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2017-03-07 10:41:38 +0200
committerHenri Sara <henri.sara@gmail.com>2017-03-07 12:36:54 +0200
commit6e8e010356206559c58e2eff2330d5bdd05a3b3d (patch)
tree4f59864fda4d60f3341ff4d865f87d511cb4586a /compatibility-client
parent14c160e720d0c3b2ded071d8996fd3fed00ca0be (diff)
downloadvaadin-framework-6e8e010356206559c58e2eff2330d5bdd05a3b3d.tar.gz
vaadin-framework-6e8e010356206559c58e2eff2330d5bdd05a3b3d.zip
Revert multi select using state change
Diffstat (limited to 'compatibility-client')
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/optiongroup/OptionGroupBaseConnector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/optiongroup/OptionGroupBaseConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/optiongroup/OptionGroupBaseConnector.java
index 1de28c832a..fba8593766 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/optiongroup/OptionGroupBaseConnector.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/optiongroup/OptionGroupBaseConnector.java
@@ -43,8 +43,8 @@ public abstract class OptionGroupBaseConnector extends AbstractFieldConnector
getWidget().selectedKeys = uidl.getStringArrayVariableAsSet("selected");
getWidget().setReadonly(isReadOnly());
- // Intentional change to use state over UIDL in compatibility package
- getWidget().multiselect = getState().multiSelect;
+ getWidget().multiselect = "multi"
+ .equals(uidl.getStringAttribute("selectmode"));
getWidget().immediate = getState().immediate;
getWidget().nullSelectionAllowed = uidl
.getBooleanAttribute("nullselect");