I want to open a form in modal, where user can input few things and that stuff will be saved in backend. I came across this plunk which implements this thing.
But when i try to click anywhere to make an input, modal closes. I tried this in my local system as well - same behavior.
Tried following things but no result:
- I used
ngDialog.openConfirm
but it doesn't allow me to click anywhere(only tabs work.) - Set
closeByEscape
tofalse
- escape blocked but click makes modal disappear - Set
closeByDocument
tofalse
- clicks disabled and only tab allowed
Basically i need a modal:
- Which doesn't disappear on click and escape
- Allows tabs and clicks to make input
- Doesn't disappear on click in background
- Calls some function when submit is clicked
- Closes only when default close button is clicked