cipchk / ngx-bootstrap-modal

simplify the work with bootstrap modal dialogs
https://cipchk.github.io/ngx-bootstrap-modal
MIT License
22 stars 7 forks source link

Any option to show only one modal at a time #7

Closed AakritiGoyal closed 6 years ago

AakritiGoyal commented 6 years ago

Hi. I am trying to use ngx-bootstrap-modal to display error messages. I would like to display only one error at a time. Is there any option to display only one modal.. I dont want to open another modal if one is opened already .. Is there any way to achieve this using ngx-bootstrap-modal ?

cipchk commented 6 years ago

sorry, i don't catch your meaning.

AakritiGoyal commented 6 years ago

I am working with angular 4 and on a page I need to call multiple web services suppose 4-5... Now I am using ngx-bootstrap-modal to display errors .. what happens if i got an error in first call then it will open a modal and a new modal is opened for all the errors so in last I will have 4-5 open modals for all errors .. I need to display only one error.. If a modal is already opened then it should not open a new one

cipchk commented 6 years ago

i'm sorry, not yet!

AakritiGoyal commented 6 years ago

it's ok np