Skip to content
MyAppBuilder
StableEvent

On close

Overview

Fires when a Modal or Drawer component is closed.

Purpose

Clean up: clear page state, refresh data behind the overlay, or ask the user to confirm unsaved changes.

Inputs

  • Supported by: Modal, Drawer.

Configuration

  • Fires whether the overlay was closed by its close control, by a Set state action or by the user clicking outside.

Outputs

  • No event data.

Example

Refresh after closing

Example
Drawer “Edit customer” › On close:
  1. Refresh data  Entity: Customers

Errors

  • None.

Limitations

  • Does not fire for modal/drawer pages closed with Close modal / Close drawer.

Related

Was this helpful?