aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMatti Tahvonen <matti@vaadin.com>2017-05-19 11:30:29 +0300
committerAleksi Hietanen <aleksi@vaadin.com>2017-05-19 11:30:29 +0300
commit9b72cbfa113c48f2c396055f8ff04970d2ae3aa1 (patch)
treede7731672081bfe44c563516d004c61d990b5ddc /client
parentd7142d1870bd45d5a9bb79b0d89edf3f3a5033ab (diff)
downloadvaadin-framework-9b72cbfa113c48f2c396055f8ff04970d2ae3aa1.tar.gz
vaadin-framework-9b72cbfa113c48f2c396055f8ff04970d2ae3aa1.zip
Fix resetting of last filter in VComboBox (#9381)
Currently the reset method resets the lastFilter as well and then the logic thinks items don’t need to be refreshed when popup is reopened. Fixes #9027 Fixes #7790
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VComboBox.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VComboBox.java b/client/src/main/java/com/vaadin/client/ui/VComboBox.java
index 668e88b126..2a76907170 100644
--- a/client/src/main/java/com/vaadin/client/ui/VComboBox.java
+++ b/client/src/main/java/com/vaadin/client/ui/VComboBox.java
@@ -2319,7 +2319,6 @@ public class VComboBox extends Composite implements Field, KeyDownHandler,
.findAny().orElse(null);
}
- lastFilter = "";
suggestionPopup.hide();
}