aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/components/components-grid.asciidoc
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-05 11:28:45 +0300
committerArtur Signell <artur@vaadin.com>2016-08-05 11:45:42 +0300
commit138f8ddb6927f66bc2d5bfce6d7ae5963c0ca42e (patch)
tree4a852887ce13034c6b0d1a374ca16c43585d4de0 /documentation/components/components-grid.asciidoc
parent4f2a8f149bf154235aabd7b8a9eae74170f68d5e (diff)
downloadvaadin-framework-138f8ddb6927f66bc2d5bfce6d7ae5963c0ca42e.tar.gz
vaadin-framework-138f8ddb6927f66bc2d5bfce6d7ae5963c0ca42e.zip
Update documentation to match API in vol2
Change-Id: I7514105d817a8e442ecdc81fa77af758a9abfd08
Diffstat (limited to 'documentation/components/components-grid.asciidoc')
-rw-r--r--documentation/components/components-grid.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc
index b56b762e46..a06989501a 100644
--- a/documentation/components/components-grid.asciidoc
+++ b/documentation/components/components-grid.asciidoc
@@ -912,7 +912,7 @@ BeanBinder<Person> binder = new BeanBinder<>(Person.class);
// Have some extra validation in a field
binder.addField(nameEditor, "name")
- .addValidator(new RegexpValidator(
+ .withValidator(new RegexpValidator(
"^\\p{Alpha}+ \\p{Alpha}+$",
"Need first and last name"));