I am supporting an app written by someone else. When the app's user clicks on a button, the user is asked a confirmation question. Where is the question configured?
The button's click event handler has no "Show a confirmation modal before running" configured and I can't find any setting in the button itself.
@ScottR Yes, the button has a Click event handler, which does not have a confirmation modal configured. I looked at every query in the app - none have a confirmation modal configured.
If you could export your app as json and send it I will take a look. If you are not able to I will tag this and get attention to it though the Retool team are very good at redoing and helping out.
@Kyle_Blaney I believe when "Run query automatically when inputs change" is set on a resource query, "Show a confirmation modal before running" is not shown as a option under the advanced tab but it still runs.
Try changing getInvoices to "Run only when manually triggered" then go to the advanced tab and see if "Show confirmation..." is enabled?
I think then unless someone from the Retool team can look into your app, I don't have any ideas without seeing it....
You can also try office hours here:
All but one of the app's resource queries were already set to "Run query only when manually triggered". Even when I changed that query to run only when manually triggered, "Show a confirmation modal before running" was still unchecked.
@matth The string in the dialog ("Please confirm you made an offer...") is not found in code search. However, it does appear in the app's exported JSON file. The exported JSON file contains hugely long lines and my editor can't reformat it, so it's hard to parse. But, the text is in there.