focus
fires when a CheckboxGroup control has received focus
focus: (value: {[id: string]: boolean | string}, id: string) => void;
Parameters:
value: object
- the current value of the control. The object contains a set of key:value pairs where the key is the id of a checkbox and the value is the value/state of the checkbox.id: string
- the id of a checkbox of the CheckboxGroup control
Example
form.getItem("checkboxGroup").events.on("focus", (value, id) => {
console.log("focus", value, id);
});
Change log:
added in v7.2