在Vaadin 14.4.2中,我能够在select组件第一次运行时成功地对它执行setItems。但是,如果它第二次运行(例如由于文件名文本字段的更改),我将得到错误。:133) at com.vaadin.flow.component.HasValue.clear(Select.java:419)
我尝试了两天来解决我的问题,并了解我哪里错了。我试图使用TodoService在网格上显示项,并将数据添加到SQL中。(ComponentEventBus.java:205) ~[flow-server-2.0.14.jar:2.0.14]
at com.vaadin.flow.component.ComponentEventBus.handleDomEvent(ComponentEventBus.java:373) ~[flow-server-2.0.14.j