Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

358
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda