keydown
fires when any key is pressed and an option of the Combo control is in focus
keydown: (event: KeyboardEvent, id: string | number | undefined) => void;
Parameters:
event: KeyboardEvent
- a native KeyboardEvent objectid: string | number | undefined
- the ID of the option of the Combo control in focus
Example
form.getItem("combo").events.on("keydown", function(event, id) {
console.log(event, id);
});
Change log:
added in v7.2