summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VComboBox.java3
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java2
2 files changed, 3 insertions, 2 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 72797991d1..6e0c400baa 100644
--- a/client/src/main/java/com/vaadin/client/ui/VComboBox.java
+++ b/client/src/main/java/com/vaadin/client/ui/VComboBox.java
@@ -23,6 +23,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;
+import java.util.UUID;
import java.util.logging.Logger;
import com.google.gwt.animation.client.AnimationScheduler;
@@ -1371,7 +1372,7 @@ public class VComboBox extends Composite implements Field, KeyDownHandler,
* way, and they might be useful in a combo box where new items are
* allowed.
*/
- getElement().setAttribute("autocomplete", "nope");
+ getElement().setAttribute("autocomplete", Math.random() + "");
}
/**
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java
index ea68373cd4..920781a9c4 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java
@@ -1359,7 +1359,7 @@ public class VFilterSelect extends Composite
* way, and they might be useful in a combo box where new items are
* allowed.
*/
- getElement().setAttribute("autocomplete", "nope");
+ getElement().setAttribute("autocomplete", Math.random() + "");
}
/**