]> source.dussan.org Git - vaadin-framework.git/commit
Selection is now shown although scrollToSelectedItem is false (#16673)
authorMatti Tahvonen <matti@vaadin.com>
Fri, 29 May 2015 13:22:26 +0000 (16:22 +0300)
committerVaadin Code Review <review@vaadin.com>
Mon, 8 Jun 2015 07:19:26 +0000 (07:19 +0000)
commit5ae33b641eea02b647825b27c311d4116f3be838
treecc731c84e62a14b7a3a621841cb7590ee3081f04
parentb0d5315e8ba95d099f93dc2d16339033a6525b59
Selection is now shown although scrollToSelectedItem is false (#16673)

If scrollToSelectedItem is set to false (which is needed to work
properly with
large datasets) the selected item caption is sent to client with a
special
attribute to avoid the field looking like unselected.

Change-Id: Ib80355c3b52faaaeaa9ab7195644701cc3bf0d15
client/src/com/vaadin/client/ui/combobox/ComboBoxConnector.java
server/src/com/vaadin/ui/ComboBox.java
uitest/src/com/vaadin/tests/components/combobox/ComboBoxScrollingToPageDisabled.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/combobox/ComboBoxScrollingToPageDisabledTest.java [new file with mode: 0644]