I have a modal that opens with a containing form that I use to append records to a table.
On the submit event of the form I run a simple INSERT query.
I've set the advanced option of the query to require confirmation to run. It operates perfectly when OK is selected.
However, if I cancel the query the submit button stays in a loading state and never stops even when closing and re-opening the modal containing the form.
Running this query is the only event I have on submit so I'm a bit confused as to why it isn't working. Does the submit event never resolve because I cancelled the query associated with it? Any help would be greatly appreciated.
Here is what the button looks like after clicking Cancel and how it remains.