aboutsummaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2015-11-09 12:33:07 +0200
committerArtur Signell <artur@vaadin.com>2016-08-08 09:44:33 +0000
commit9142256e85bb3e8854ddfc8c1cb1f9660af58dc8 (patch)
treec0221132a11e4af6d01f1db3b017e0c189165f2c /shared
parent06e0a6567b473fab0d1b3090eaa5a589613f8ae2 (diff)
downloadvaadin-framework-9142256e85bb3e8854ddfc8c1cb1f9660af58dc8.tar.gz
vaadin-framework-9142256e85bb3e8854ddfc8c1cb1f9660af58dc8.zip
Move ComboBox pageLength to state (#19929)
Use shared state for the page length and update related tests. This change also removes an unused widget field. Change-Id: I22055ea058029f898af952252a0c3dadcd9476d4
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java
index 1856aac00d..21bf4b9340 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java
@@ -44,4 +44,8 @@ public class ComboBoxState extends AbstractSelectState {
*/
public String inputPrompt = null;
+ /**
+ * Number of items to show per page or 0 to disable paging.
+ */
+ public int pageLength = 10;
}