Skip to main content

beforeClose

fires before closing a list with options

beforeClose: () => boolean | void;

Returns:

Return false to prevent closing a combobox; otherwise, true.

Example

combobox.events.on("BeforeClose", function( ) {    // your logic here    return false;});

Related sample: Combobox. Events

Change log:

added in v6.4