BethanysPieShopHR icon indicating copy to clipboard operation
BethanysPieShopHR copied to clipboard

Prevent navigation away from edit

Open jecourtney opened this issue 5 years ago • 0 comments

Gill,

I like what you are working on here, I see it isn't quite on Plural Sight yet. What would you say if one wanted to add functionality to prevent navigation once an edit is made to the employee-- say a popup message warning changes will be lost. I can't seem to find anything on the Web for how this type of action should take place in Blazor. That is, detect the model is dirty and prevent navigation or show a popup if it is. If I ever figure it out, I'll answer my question.

Thanks, Joe

jecourtney avatar Nov 14 '19 18:11 jecourtney