]> source.dussan.org Git - vaadin-framework.git/commit
Selection should be updated each time when new data is set (#244).
authorDenis Anisimov <denis@vaadin.com>
Wed, 14 Sep 2016 08:33:57 +0000 (11:33 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 14 Sep 2016 11:44:01 +0000 (11:44 +0000)
commita7f874e9422fe8bc7dad15dadf74a32aa4c75c8d
tree0f2e04b5bcffa1c8828a1f65c87b8577da7437b4
parent62d712fb4514b2ed118539f43967c9b24d906518
Selection should be updated each time when new data is set (#244).

There is no order in two actions: set data source and selection. So
selection should always be saved to update the index once data is set.

Change-Id: I074d99adb1f11bf29ebaef50979d4cacda5cd1e4
client/src/main/java/com/vaadin/client/ui/nativeselect/NativeSelectConnector.java
uitest/src/main/java/com/vaadin/tests/components/nativeselect/NativeSelectInit.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/nativeselect/NativeSelectInitTest.java [new file with mode: 0644]