Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 2 weeks ago
Vaadin 8 + ComboBox setPageLength(0)
Version: 8.0.0.beta2
A ComboBox with setPageLength(0) does not list the last element.
Code to reproduce:
ComboBox<String> cb = new ComboBox<>();
cb.setItems(Arrays.asList("1", "2", "3")); //3 will not be listet
cb.setPageLength(0);
Last updated on
Hey, Alexander.
I also experience the same problem.
Actually, when you set cb.setEmptySelectionAllowed(false) and cb.setPageLength(0); all the 3 options become visible.
Therefore, this means that empty line is taken into account, which makes last line invisible.
Thanks for your mesaage.
I will write a bug ticket to GitHub : )
Regards,
Anastasia
Last updated on
You cannot reply to this thread.