
Announcements
I have my component Dialog box working, at least from a show/hide perspective. See this topic for more details.
The missing piece here now is to act on the response. My requirement is to confirm actions taken by the user. So I want to display the dialog to confirm the action the user is attempting. In a normal app when you display the dialog the code pauses and waits for the dialog to go away and then you can take action based on the response. That is not the case with Power Apps. It will not wait. It just shows the dialog and continues.
I have Buttons in the Dialog to set a "Response" property I added to the Component. But as far as I know, there is no way to execute a piece of code based on that.
Does anyone have any thoughts on how to accomplish this? Inserting code into the dialog is not what I want to do as that ties the dialog to the application and I want to keep it generic. Just trigger something in the app to signify the users choice so it can continue or stop the action initiated.
Thank you.
Thoughts?