summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractTextField.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-12-12 11:15:33 +0200
committerArtur Signell <artur@vaadin.com>2014-12-12 11:17:16 +0200
commit36e39ca2684ad5ebaa88c21aad29db460cb97bec (patch)
treea6e3c704022e57c411860beac406705306aca20f /server/src/com/vaadin/ui/AbstractTextField.java
parentccb76e6608adbdf652748899779a458cd795ac3a (diff)
downloadvaadin-framework-36e39ca2684ad5ebaa88c21aad29db460cb97bec.tar.gz
vaadin-framework-36e39ca2684ad5ebaa88c21aad29db460cb97bec.zip
Don't add setCurorPosition as it focuses the field (#7749)
Change-Id: I53de828cd5c27f7ee8e9a89d7b48c7dcfc3201b6
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractTextField.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractTextField.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/AbstractTextField.java b/server/src/com/vaadin/ui/AbstractTextField.java
index 31672a1f39..2de8555b26 100644
--- a/server/src/com/vaadin/ui/AbstractTextField.java
+++ b/server/src/com/vaadin/ui/AbstractTextField.java
@@ -793,6 +793,7 @@ public abstract class AbstractTextField extends AbstractField<String> implements
customAttributes.add("maxlength");
customAttributes.add("max-length"); // to prevent this appearing in
// output
+ customAttributes.add("cursor-position");
return customAttributes;
}