Skip to main content

blur

fires when a CheckboxGroup control has lost focus

blur: (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 a checkbox
  • id: string - the id of a checkbox of the CheckboxGroup control

Example

form.getItem("checkboxGroup").events.on("blur", (value, id) => {
console.log("blur", value, id);
});

Change log:

added in v7.2