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);
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);
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