Hi!
I’ve noticed that ComboBox paging seems to work weirdly. If I e.g. step through the example combobox in http://demo.vaadin.com/sampler/#ui/data-input/multiple-value/combo-box with the arrow-keys it shows the first again when having reached the page bottom, and then the next.
i.e. it starts with “Afghanistan”, goes down correctly to “Argentina”, then shows again “Afghanistan” with no line having the focus, and then starts at the top of the second page with “Armenia”.
Is there a possibility to disable paging? Or any workaround for this bug?
I went through the use case you provided it seems to be a bug. If you wish to disable Paging on the combobox set the PageLength to “0”, the downside of this is that if the list is huge it looks really awkward on the UI. I would rather suggest you to use FilterMode.Contains and the let the user type in the combobox which shortlists Items for the user to select…
Hi Krishna!
I’ve added a bug report for this -
#13464
I’ve already tried PageLength = 0 (which gives me a too long list) and FilterMode. Nevertheless my users will probably scroll through the whole list (~ 25 entries) since they don’t know the content of the list.
Best would of course be if we had no paging in ComboBoxes - but that enhancement (
#1685 ) seems to be of minor interest…