I am currently developing an app where we need to create a versatile component. This component will allow us to pass a dynamic form component from the parent component into a dialog box component, and then render that dynamic component within the dialog box.
My goal is to retrieve the output data of the form in the parent component's afterClosed method when the dialog box closes.
After researching and finding helpful information on this topic at this link, I was successful in passing the dynamic form to the dialog box. You can view a small proof of concept using the following demo link: demo link
However, I am facing difficulties in passing the output data of the form from the dialog box component back to the parent component. Any assistance or guidance on how to resolve this issue would be greatly appreciated.