diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/datamodel/datamodel-fields.asciidoc | 2 |
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"; |