我想删除vaadin 8中combobox中的所有值,但removeAllItems在vaadin 8 api中不存在。
有什么替代方案?
如果其他方法都不起作用,您可以始终使用空列表“填充”组合框。
comboBox.setItems(new ArrayList<YourBean>());