summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMatti Tahvonen <matti@vaadin.com>2017-09-06 12:25:09 +0300
committerHenri Sara <henri.sara@gmail.com>2017-09-06 12:25:09 +0300
commit7427cd2d6504927fed880ebd23f2e3e7c7c102dc (patch)
tree42159d0cb47a059177a9d753e5e5d9681ae1280e /client
parent5df3c0ac7b6d851b30e333fee52bf992fe6e804a (diff)
downloadvaadin-framework-7427cd2d6504927fed880ebd23f2e3e7c7c102dc.tar.gz
vaadin-framework-7427cd2d6504927fed880ebd23f2e3e7c7c102dc.zip
Fix invalid user visible value in ComboBox (#8115)
Closes #7902
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VFilterSelect.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java b/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java
index e407aaafe4..af58756af0 100644
--- a/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java
+++ b/client/src/main/java/com/vaadin/client/ui/VFilterSelect.java
@@ -1872,7 +1872,6 @@ public class VFilterSelect extends Composite
client.updateVariable(paintableId, "selected",
new String[] { selectedOptionKey }, immediate);
afterUpdateClientVariables();
-
// currentPage = -1; // forget the page
}
@@ -2644,6 +2643,7 @@ public class VFilterSelect extends Composite
public void setSelectedCaption(String selectedCaption) {
explicitSelectedCaption = selectedCaption;
if (selectedCaption != null) {
+ selectedOptionKey = null;
setPromptingOff(selectedCaption);
}
}