beforeChangeOptions
fires before changing a list of Select options
beforeChangeOptions: (options: object[]) => boolean | void;
Parameters:
options: array
- a new array of Select options
Example
form.getItem("select").events.on("beforeChangeOptions", function(options) {
console.log("beforeChangeOptions", options);
});
Change log: The event was added in v8.0