keydown
fires when any key is pressed and a radio button of the Radiogroup control is in focus
keydown: (event: KeyboardEvent, id: string) => void;
Parameters:
event: KeyboardEvent
- a native KeyboardEvent objectid: string
- the id of the radio button of the Radiogroup control
Example
form.getItem("radiogroup").events.on("keydown", function(event, id) {
console.log(event, id);
});
Change log:
added in v7.2