Convertigo Public Knowledge base

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.

 

(c) Convertigo 2023 https://www.convertigo.com