@manu_ionic wrote:
Hello. I have a form to edit data in a modal. When somebody clicks the backdrop, I would like to check first that no change is pending, and suggest user:
a) to keep editing (or saving), which cancels the modal dismiss
b) to confirm, which closes the modal dismissIf I set
backdropDismiss
property tofalse
, I won’t achieve what I want (unless there is an event like ‘onBackdropClick’)If I use
onWillDismiss
, I don’t know how to cancel the dismiss event if I want to.Any idea?
Posts: 1
Participants: 1