]> source.dussan.org Git - vaadin-framework.git/commit
Fix ComboBox paging when number of items equals page length (#20213)
authorArtur Signell <artur@vaadin.com>
Thu, 1 Sep 2016 19:38:45 +0000 (22:38 +0300)
committerVaadin Code Review <review@vaadin.com>
Mon, 5 Sep 2016 06:31:45 +0000 (06:31 +0000)
commite0c1f91a3d6d1884e07ce8d1ba957aff6a9bf29a
treea6eb668f24cabc60c3049e5849a30a0cc275485d
parent3faa43ff39ecda56587b93f0c5e262a2907871a7
Fix ComboBox paging when number of items equals page length (#20213)

When pageLength == number of items, no paging should be shown except
if null selection is allowed, then there should be a second page
with one item.

Change-Id: I01c00f0c9d75a1dbb80d11b07c37c8ad7334ea07
server/src/main/java/com/vaadin/ui/ComboBox.java
server/src/test/java/com/vaadin/ui/ComboBoxTest.java [new file with mode: 0644]