summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorMarcus Hellberg <marcus@vaadin.com>2016-08-29 12:52:00 -0700
committerArtur Signell <artur@vaadin.com>2016-08-29 23:08:36 +0300
commit6214afcd5ff1c82f62ac2d1c56ff455f0e15b3c4 (patch)
tree795d6935e0ed80a31aa4b587250d73f366be9916 /documentation
parent2d3eff80f7ff7d0ca05a48a1e5709d4d82224538 (diff)
downloadvaadin-framework-6214afcd5ff1c82f62ac2d1c56ff455f0e15b3c4.tar.gz
vaadin-framework-6214afcd5ff1c82f62ac2d1c56ff455f0e15b3c4.zip
Fixed event name to match example code
Change-Id: Id9333bae30c7bf5c24dcd0aca1cbee671c28910e
Diffstat (limited to 'documentation')
-rw-r--r--documentation/datamodel/datamodel-fields.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/datamodel/datamodel-fields.asciidoc b/documentation/datamodel/datamodel-fields.asciidoc
index f6d1530420..651def13a6 100644
--- a/documentation/datamodel/datamodel-fields.asciidoc
+++ b/documentation/datamodel/datamodel-fields.asciidoc
@@ -35,7 +35,7 @@ By listening to the event, we can find out the new value of the field and whethe
[source,java]
----
TextField nameField = new TextField("Enter your name");
-nameField.addValueChangeListener(clickEvent -> {
+nameField.addValueChangeListener(event -> {
String origin = event.isUserOriginated()
? "by the user"
: "from code";