Overview

This action allows you to close a modal. A use case would be a second action after an apiAction is triggered, such as when a user pays some open items on the Account Balance tab on the Customers page. Valid page components for this action are:

  • ActionButton – use the onClick property.

Properties

PropertyDescription
actionSet this to “hideModal” to use this action.
nameThe name of the modal to be closed.

Example

Add the following to your component:

"onClick": {
  "actionName": "hideModal", 
  "name": "payItems"
}