I've created a simple dashboard in Angular. It has a textarea and a button. You add a cover to the textarea, click the button, and some data gets updated in the database.
This is all good until you navigate away and get the unsaved data warning. Clients are easily rattled. How can I get the working properly, or turn it off?
This warning flags if any angular textboxes etc on the page you are navigating away from are marked as 'dirty' eg content has been added to them not been saved - even on dashboards!
add the no-dirty-check to your textbox on your dashboard eg
Dashboard warns about unsaved changes
I've created a simple dashboard in Angular. It has a textarea and a button. You add a cover to the textarea, click the button, and some data gets updated in the database.
This is all good until you navigate away and get the unsaved data warning. Clients are easily rattled. How can I get the working properly, or turn it off?
Hi David
This warning flags if any angular textboxes etc on the page you are navigating away from are marked as 'dirty' eg content has been added to them not been saved - even on dashboards!
add the no-dirty-check to your textbox on your dashboard eg
and the textbox won't trigger the alert when the user navigates away, if something has been typed into it...
regards
Marc
is working on a reply...