beforeChangeProperties
fires before configuration attributes of the control are changed dynamically
beforeChangeProperties: (properties: object) => boolean | void;
Parameters:
properties: object
- an object with the configuration attributes of the control and their new values
Returns:
Return false
to cancel the default action of the event; otherwise, true
.
Example
form.getItem("fieldset").events.on("beforeChangeProperties", properties => {
console.log("beforeChangeProperties", properties);
return true;
});