From 36e39ca2684ad5ebaa88c21aad29db460cb97bec Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 12 Dec 2014 11:15:33 +0200 Subject: Don't add setCurorPosition as it focuses the field (#7749) Change-Id: I53de828cd5c27f7ee8e9a89d7b48c7dcfc3201b6 --- server/src/com/vaadin/ui/AbstractTextField.java | 1 + 1 file changed, 1 insertion(+) (limited to 'server/src/com/vaadin/ui/AbstractTextField.java') 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 implements customAttributes.add("maxlength"); customAttributes.add("max-length"); // to prevent this appearing in // output + customAttributes.add("cursor-position"); return customAttributes; } -- cgit v1.2.3