beforeChangeProperties

fires before configuration attributes of the control are changed dynamically

boolean beforeChangeProperties(object properties){ ... };

Parameters

propertiesobjectan object with configuration attributes of the control and their new values

Returns

booleanfalse - to cancel the default action of the event, otherwise true

Example

form.getItem("datepicker").events.on("BeforeChangeProperties", function(properties) {
    console.log("BeforeChangeProperties", properties);
    return true;
});

See also
Change log

added in v7.0

Back to top