Skip to main content
Skip table of contents

Getting Data from a Modal

From Controller Modals:

To emulate the dismiss event on a Modal component, you could to set the Block while displayed property to true, the children actions will only be executed when the Modal is closed:

You can use a global variable in the parent that will hold your data from the Modal page:

From Inline Modals (Recommended):

It is easier to get Data from Inline Modals as they stand in the same page.

Add Events to the Modal Event willPresent, willDismiss, didPresent, didDismiss

You can use local/global variables or directly use source picker from Form Inputs.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.