-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
Security Level: Jimmy
-
None
-
IE 11, reproduced with IE 11.494.105860 - 11.0.33. Doesn't happen on chrome, firefox
-
ZK 8.0.3 S8
-
None
steps to reproduce
http://zkfiddle.org/sample/2e9qh6b/1-Combobox-Autodrop-IE11
run fiddle
click on the combobox input field
type any letter (for example "a")
actual result
The combobox drop down menu is opened
expected result
The combobox drop down menu should not open
debug info
It seem that IE 11 still give focus and key events on disabled input elements
workaround
<script> <![CDATA[ zk.afterLoad('zul.inp', function() { var _xCombobox = {}; zk.override(zul.inp.Combobox.prototype, _xCombobox, { doKeyDown_: function (evt) { if(!this.isDisabled()) _xCombobox.doKeyDown_.apply(this,arguments); } }); }); ]]> </script>