Add settings in Nav Links to prompt user before navigating away #13783
mikesealey
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using Actions in the
On Click
of buttons we have the option to prompt a user "Are you sure you want to continue" or similar.Occasionally, users can mistakenly click navigation links whilst completing a form, which would result in the loss of any unsaved data. We should add the option to include an "Are you sure. you wish to leave this page?" prompt.
This could take the form of a single configurable setting called "Confirm Navigation" (or similar), or it could follow the same format as
Button
On Click
Actions, with careful consideration given to appropriate permitted/forbidden actions.Currently, my workaround is to hide the navigation entirely, and rebuild it using many containers, but this leaves a lot to be desired from a maintainability perspective. Example: Prompt User Before Navigating Away-export-1716890940854.tar.gz
Beta Was this translation helpful? Give feedback.
All reactions