I have an admin web item. It loads the page, then the page hits the REST api to get the field values and sets them. If the user tries to navigate away, without changing anything, the dirty form confirmation comes up.
How do I turn this off?
I want it disabled entirely for this page, even if the user does make changes without saving.
I moved my event off submit and onto ‘aui-valid-submit’ - this did not fix it. Here are the events:
(In fact, it made it submit the page, instead of using AJAX - I had to move event back to submit after that shot was taken.)