ComboBox bug

With null selection allowed there will be error that item number ten is not showed:
ComboBox combo=new ComboBox();
String nullitem=“”;
combo.setNullSelectionAllowed(true);
combo.addItem(nullitem);
combo.setNullSelectionItemId(nullitem);
for(int i=0;i<10;i++){
combo.addItem("combo "+i);
}

I need to set NullSelectionItemId as other bugs in caption after repopulate combobox.

Yes, this seems to be a bug. Added
#5053
.

I wonder why there is no setPageLength() in Select/ComboBox. I was thinking of suggesting that as a workaround, so that you could dynamically set the page length to be different if the number of items equals (possibly by modulo) the page length. Oh well.