Questions tagged [ngx-modal]

19 questions
3
votes
1 answer

How to close the existing ngx-modal when new modal open up from same component in Angular 8

I am trying to make a reusable modal component that can be called from the same modal itself. How I can configure the component and modal such that when the reusable component opens up the older instance will get closed directly? Below is my…
a.p. patel
  • 103
  • 4
  • 25
3
votes
1 answer

Ngx-bootstrap modal: how to pass data to the modal component.ts instead of to the html template?

I'm able to collect the data passed in the initialState object, for example in this fragment of code: const initialState = { titulo: titulo, origen: origen, th1: "Número", th2: "Nombres", modalFor:…
Julio Rodríguez
  • 447
  • 1
  • 8
  • 23
3
votes
0 answers

p-tabPanel tab having an issue in rendering ngx-smart-modal when the tabs are added dynamically

Currently, I'm trying to add dynamic tabs which have child component, Within the child component, there are several ngx-smart-modal models. I'm able to create dynamic tabs with a close button on it. The issue arises when there are more than one…
Abhishek Ekaanth
  • 2,511
  • 2
  • 19
  • 40
3
votes
0 answers

Ngx-Modal let's you tab outside its self - Angular 2

Plunker Example I've put a wrapper round the Ngx-Modal code so I can apply some code to all ngx-modals. I also happened to notice that when keyboard tabbing it allows you outside of the Modal, does anyone know how to fix this? I've put a keydown…
MagicLuckyCat
  • 324
  • 2
  • 5
  • 19
1
vote
1 answer

Angular 8 intercept 401 with login modal

I'm trying to get the user to continue where they left off by entering the login details from anywhere in the app, however, I don't have a token or refresh token, the backend uses session cookie. Here is what I'm trying to do without success so far,…
1
vote
1 answer

ngx-modal dialog stuck in overlay and not editable

I am using ngx-modal, and when I trigger the modal dialog it appears stuck in the overlay and is unresponsive. I suspect it has something to do with the z-index. How do fix it?
Tee-Jay
  • 736
  • 2
  • 9
  • 28
1
vote
1 answer

Angular 2 Extending an NPM component Ngx-Modal with Wrapper

I am try to extend an existing working component locally in Angular 2. I don't get any really useful indication of what the problem is, no errors etc. So I modified an existing plunker (https://plnkr.co/edit/8x34JbEhYdVms4iYLRvM?p=preview) that has…
MagicLuckyCat
  • 324
  • 2
  • 5
  • 19
1
vote
1 answer

Modal window stay in the background (ngx-modal)

i'm trying implement a window modal with ngx-module but when open de window it stay in backgroun and the screen is disabled. Here is my code:
1
vote
2 answers

ngx-modal - Angular 2

I am trying to implement modal form in my angular application. My code looks alright to me as i do not see any error. I have installed ngx-modal into my application and i have also imported the ModalModule in my app.module.ts file. What could be the…
Liska Liskor
  • 2,831
  • 4
  • 17
  • 22
0
votes
0 answers

how work and bind with MatSelectModule in reactive form in model angular?

I'm working on updating receiver . When the user presses the edit button, a modal will open for him . this modal contains reactive form . i hava problm with selector HTML Code
0
votes
0 answers

how to pick data in a ngx modal in Angular 8?

I'm trying to launch a ngx-modal when clicking a serie of tr in an angular table and pass data that the ngx-modal must work with. For each cicked tr, the modal must have different values passed in. this is the method in the "main" .ts component that…
Julio Rodríguez
  • 447
  • 1
  • 8
  • 23
0
votes
1 answer

Single instance problem of ngx-bootstrap modal

I have developed three different components from ngx-bootstrap modal 1. Modal 2. iFrame modal 3. Alertbox modal I just pass the template in these component and they render it. But the problem comes when I use any two in single template. Which share…
0
votes
2 answers

Modal in Angular6

I am trying to use ngx-smart-modal in my Angular app to display a modal on click. The issue that I am currently facing is that once the component view is loaded, the modal gets displayed on load. In the documentation, it is specified to give…
vijayakumarpsg587
  • 1,079
  • 3
  • 22
  • 39
0
votes
1 answer

ngx-modal close after submit

I am using ngx-Modal, and I have a form within the modal. The problem is, I need to have the modal close after the form is submitted, but I can only submit the form, or close the form, not both. I have tried using the (onClose)="modalName.close(),…
J Hogan
  • 117
  • 1
  • 3
  • 9
0
votes
1 answer

How to retrieve data from ngx-modal on submit angular 5

I am using ngx-modal to create dialog, below is the code in html
mjck
  • 187
  • 3
  • 5
  • 18
1
2