BethanysPieShopHR
BethanysPieShopHR copied to clipboard
Prevent navigation away from edit
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