Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

361
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!