Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有 valuechange 处理程序的文本框:
@UiHandler("box") public void box_onValueChange(ValueChangeEvent<String> event) { window.alert("allright"); }
如果我通过单击其他地方失去焦点,它会很好。除非我点击一个按钮。
有没有我没看到的技巧?我应该破解我的 onclick 事件来触发 valuechangeevent 吗?
谢谢