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.