zk - disable key controls for combobox
问题 Is it possible to disable the keyboard controls for a Combobox in ZK? That is, when a user enters some text into a Combobox, by default they can use the arrow keys to move up and down the list. I would like to disable this functionally as it doesn't work well with the user experience we are designing. I see nothing in the documentation explicitly. 回答1: You can override _doKeyDown js function, e.g., <zk xmlns:w="client"> <combobox> <attribute w:name="_doKeyDown"><![CDATA[ function (evt) { var