📄 b30-1876292.zul
字号:
<?xml version="1.0" encoding="UTF-8"?><!--B30-1876292.zul{{IS_NOTE Purpose: Description: History: Tue Jan 22 15:39:09 TST 2008, Created by jumperchen}}IS_NOTECopyright (C) 2007 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><zk xmlns:n="http://www.zkoss.org/2005/zk/native"> <n:p>If I try to type wrong value and then click reset button, the first timeit reset wrong value, but after typing wrong value the second time,cb1.value = null refuses to reset wrong value.Or after loading the page and resetting blank combobox or with right value,and then type a wrong value, it refuses to reset.</n:p> <vbox> <combobox id="cb1" constraint="strict"/> <zscript> cb1.appendItem("aaa").value = "111"; cb1.appendItem("ccc").value = "333"; </zscript> <button label="reset" onClick="cb1.value = null;"/> </vbox></zk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -