diff options
author | hlxnd <hal.x@web.de> | 2017-03-28 15:27:12 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-03-28 16:27:12 +0300 |
commit | 8fe87084b9418d12ad57d11d713d85cd5862724c (patch) | |
tree | fe779db94010987745149dbf2ed88e4d742e8dd2 /documentation/components/components-combobox.asciidoc | |
parent | bf748e098fe15bdf071debdd5e1eb7f76d446d98 (diff) | |
download | vaadin-framework-8fe87084b9418d12ad57d11d713d85cd5862724c.tar.gz vaadin-framework-8fe87084b9418d12ad57d11d713d85cd5862724c.zip |
Fix ComboBox item select method in example (#8964)
Diffstat (limited to 'documentation/components/components-combobox.asciidoc')
-rw-r--r-- | documentation/components/components-combobox.asciidoc | 2 |
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); }); ---- |