angular-unsavedChanges icon indicating copy to clipboard operation
angular-unsavedChanges copied to clipboard

not working with bootstrap modal popup form

Open meulrajput opened this issue 10 years ago • 3 comments

I have tried but its not working with form within modal. Can please tell me how can i set unsaved warning in modal.

meulrajput avatar Jun 11 '14 06:06 meulrajput

I can confirm that the directive doesn't work within a modal.

TimonVS avatar Dec 10 '14 09:12 TimonVS

A modal by definition should have clear intent, with no use case path but to accept or cancel. This can be an issue with reloading and using the back buttons, but I think an argument can be made these actions are typically self confirming.

However, I'd like to hear the usecase where it's necessary, I'll probably run into it myself eventually.

Also the issue I've had with angular ui dialogs is that they isolate scope and append to body. This has many times caused incompatibility with some modules implementations that expect the dom elements to be in a spot, although I can't see where its happening in the source.

cstephe avatar Jan 29 '15 16:01 cstephe

I think this is basically the same issue as the one I wrote previously: https://github.com/facultymatt/angular-unsavedChanges/issues/56

menelaosbgr avatar Nov 06 '15 10:11 menelaosbgr