Skip to content
MyAppBuilder
StableAction

Close drawer

Overview

Closes the drawer page that is currently open.

Purpose

Put it on the drawer's Done / Cancel buttons or after a successful save inside the drawer.

Inputs

  • No settings.

Configuration

  • Usually the last action in a list, after messages and data refreshes.

Outputs

  • None.

Example

Apply filters and close

Example
Button “Apply” › On click:
  1. Set state  Page state › status = Form › status
  2. Close drawer

Errors

  • None. If no drawer is open, nothing happens.

Limitations

  • Closes the top-most overlay, whichever kind it is.

Advanced

  • Schema: { type: "close_drawer" }.

Related

Was this helpful?