-
Notifications
You must be signed in to change notification settings - Fork 5
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
Configuration Option for Reload Prompt #119
Comments
As of #135 a |
So if I'm understanding the logic correctly - every submit button has a optional Is there ever a case where it's useful for a submit button to set |
A reminder that
The unload warning occurs when If the button arg So as is, we can technically achieve three kinds of behavior:
To go from optional binary to binary, we'd want to change TL;DR the switch from optional binary to binary would eliminate one of the three current options, which also happens to be practically useless anyways 🤷 |
There is a
beforeunload
eventListener which prompts the user to confirm navigation on unsaved changes.There's a number of ways to implement ULabel into a project whilst allowing it to persist through several different annotation jobs, and depending on how they set the
saved
state this can break them.Disabling this eventListener should be a configuration option, and additionally some reload/save utilities might be useful to streamline how different use cases manage state/save-state whilst doing soft/hard reloads.
The text was updated successfully, but these errors were encountered: