DEV Community

Discussion on: Angular: display a warning and prevent navigation when model is dirty

Collapse
 
elasticrash profile image
Stefanos Kouroupis

I had to make a small amendment. I accidentally implemented IDirty on ConfirmationDialogComponent, but that should only implemented as stated in the beginning on the component that has contains the form