Questions tagged [angular2-modal]

An AngularJS 2 modal implementation

An AngularJS 2 modal implementation:

14 questions
18
votes
9 answers

why mat-select not working inside the modal ? onclick it shows options behind the Modal

i Used the ngx-bootstrap Modal. But i faced problem when i used the mat-select inside of it . The mat-select Options display behind the Modal . i already these solutions here solution and also this one here is my code
Hassan Amjad
  • 399
  • 1
  • 6
  • 20
2
votes
1 answer

angular2 modal & system.js

system.js does not load the base angular2-modal javascript file and i have no clue why. This is my configuration: (function(global) { var paths = { 'npm:': '../node_modules/' }; // map tells the System loader where to look for things var…
Mewel
  • 1,279
  • 15
  • 21
1
vote
1 answer

Styling bootstrap modal in Angular 5

I am currently trying to style a bootstrap 4 Modal window within Angular 5. I have the scss imported into my global.scss and I am giving the modal window the customClass as followed. this.modalService.open(content, { windowClass: 'tutorial'}); So…
x3lq
  • 93
  • 1
  • 15
1
vote
2 answers

Ionic2 menuToggle is not working after Modal.present

My side menu or menu toggle code is in the app.compnent.ts. This menu toggle is working perfectly in all the pages before I click Modal. MenuToggle is not working after I click the button for Modal. I'm not sure what is the exact issue. Any…
user3194721
  • 765
  • 4
  • 14
  • 47
1
vote
1 answer

How to get alert,confirmation boxes using angular 2

I have a requirement to implement alert box in my project on click of a button depending on various conditions. Can you please suggest me how to implement alert box using Angular 2 and I don't require traditional window.alert()
thecrusader
  • 301
  • 6
  • 18
1
vote
2 answers

stuck in systemjs / npm hell

trying to get angular2-modal to load, but running into configuration issues I think because their documentation is asking to load 2 modules from different locations. import { ModalModule } from 'angular2-modal'; import { BootstrapModalModule } from…
Sonic Soul
  • 23,855
  • 37
  • 130
  • 196
0
votes
3 answers

Set width to an Angular2-modal window

I'm using Angular2-modal to create a modal with some content which some dynamic contents inside. This content is basically an image, but the dimensions are not always the same, but I know the dimensions when I create the modal, so how can I specify…
David
  • 3,364
  • 10
  • 41
  • 84
0
votes
1 answer

Angular2 customize modal body

I have an Angular2 App that can show a modal. For that i call an injectable method inside a Js class: @Injectable() public showErrorDialog(errorMessage:string, isError:boolean) { this.modal.alert() .size('sm') .showClose(true) …
giozh
  • 9,868
  • 30
  • 102
  • 183
0
votes
1 answer

Want an Angular 2 dynamic update form in a modal from the data passed to a function

This snapshot contains a dashboard view with dynamic chart grids formed using a config json in Angular 2 [for grids we used angular2-grids and for charts chartjs]. As you can see these popups have a setting button placed on top encircled in pic.…
Ansuman
  • 1
  • 4
0
votes
2 answers

How to access method from .ts file into html file in angular2?

I am beginners for Angular2, I created a modal dialog, here is my HTML file. index.html file:-
Vikas Gaurav
  • 244
  • 1
  • 6
  • 19
0
votes
1 answer

Error trying to input modal on Angular 2 aplication

I'm trying to insert a modal on my Angular 2 application but I'm gettin the following error: Unhandled Promise rejection: Template parse errors: Can't bind to 'showDismiss' since it isn't a known property of 'modal-header'. I'm using the…
Renê Silva Lima
  • 2,535
  • 2
  • 13
  • 20
0
votes
1 answer

Angular2-Modal won't run in Karma

I have angular2-modal running fine in my angular 2 app. However, I am having issues testing via Karma. I have set up my test bed with beforeEach(() => { TestBed.configureTestingModule({ imports: [ HttpModule …
Feasoron
  • 3,471
  • 3
  • 23
  • 34
0
votes
1 answer

Is there any way to send the event between the service and component in angular2

I am using angular2-modal for the modal alert. I just want to get the confirm event from the modal. How can I get that?
Tahvo.R
  • 51
  • 4
0
votes
0 answers

Jhipster 4 replacing NgbModal with HTML view

I am trying to understand the necessary changes to make in a generated jhipster app to replace the NgbModals with elements displayed in a page. I was able to find some help on doing this in older Jhipster versions with angular 1.x but I am unable to…