summaryrefslogtreecommitdiffstats
path: root/documentation/components
diff options
context:
space:
mode:
authorhlxnd <hal.x@web.de>2017-03-28 15:27:12 +0200
committerHenri Sara <henri.sara@gmail.com>2017-03-28 16:27:12 +0300
commit8fe87084b9418d12ad57d11d713d85cd5862724c (patch)
treefe779db94010987745149dbf2ed88e4d742e8dd2 /documentation/components
parentbf748e098fe15bdf071debdd5e1eb7f76d446d98 (diff)
downloadvaadin-framework-8fe87084b9418d12ad57d11d713d85cd5862724c.tar.gz
vaadin-framework-8fe87084b9418d12ad57d11d713d85cd5862724c.zip
Fix ComboBox item select method in example (#8964)
Diffstat (limited to 'documentation/components')
-rw-r--r--documentation/components/components-combobox.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/components/components-combobox.asciidoc b/documentation/components/components-combobox.asciidoc
index e78ea6395d..7f7640a079 100644
--- a/documentation/components/components-combobox.asciidoc
+++ b/documentation/components/components-combobox.asciidoc
@@ -82,7 +82,7 @@ select.setNewItemHandler(inputString -> {
select.setItems(planets);
// Remember to set the selection to the new item
- select.select(newPlanet);
+ select.setSelectedItem(newPlanet);
});
----