268
Views
1
Comments
warn before leaving the page in reactive web app
Question

Hi all,

How to warn the user before leaving the page when the user does not save data in reactive web app.


Regards,

Ellakkiya.S


2021-02-02 11-55-27
Tushar Panpaliya

Should be done by overriding the OnBeforeUnload event that is being triggered when you try to leave the page. 


Have a look at this :  https://stackoverflow.com/questions/7317273/warn-user-before-leaving-web-page-with-unsaved-changes 


Also we have a forge component for traditional apps :  https://www.outsystems.com/forge/component-overview/2353/confirm-unload

Should be easy to put together something from these.


Cheers,

Tushar

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.