Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need feature to customize unsaved content warning #4820

arsenicraghav opened this Issue Feb 11, 2019 · 0 comments


None yet
3 participants
Copy link

arsenicraghav commented Feb 11, 2019

Feature Request:

The current auto save warning is on setting the autosave_ask_before_unload = true; but the library does not have any way to specify success and failure callbacks and also no way to block click the event from bubbling up.
It would be nice to have this feature as often times we need to execute code when user consents to stay on the page or agrees to navigate away.

What is the current behavior?

User is just shown a warning message on unsaved content

What is the expected behavior?

need an api to specify what code to execute once the unsaved warning message is clicked.

@arsenicraghav arsenicraghav changed the title Need feature to customize auto save warning Need feature to customize unsaved content warning Feb 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.