Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

354
Vistas
How can I make the *ngfor work in a modal?

Im using he *ngfor but the modal its not working for some reason

<table *ngFor="let wt of wtl">
                <tr>
                    <td *>
                        <mat-form-field style=" width: 600px;">
                            <textarea rows="8" cols="360" matInput [(ngModel)]="wt.description" name="comment"
                                type="text" id="description" placeholder="Comentarios de Cierre"
                                autocomplete="off"></textarea>
                        </mat-form-field>
                    </td>
                </tr>

               
            </table>

thats the way the modal is

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Its hard to tell what functionality you want. But try putting the ngFor in the tr tag. This should populate the rows of your table with your forms.

  <tr *ngFor="let wt of wtl">

Also this tag

<td *>

I am not familiar with putting an * by itself next to a tag, and it gives me an error, so you may want to remove the * if it was not intentional.

<td>
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda