Skip to main content
0 votes
0 answers
27 views

I,ve been some days I started learning Angular, and now I'm having some troubles (here's the problem) when calling to the *ngForOf directive in a li, can someone help me? pd: In the trouble picture, ...
Alejandro Diaz's user avatar
0 votes
1 answer
65 views

This is the child's template: <div id="io-struct"> <div id="input-struct"> <h3>Degrees: <input type="number" [(ngModel)]="degrees&...
Edmon's user avatar
  • 1
0 votes
1 answer
302 views

I need to show and hidden(perfectly - totally clear to original state) block with images with two buttons. For this I tried to make this job with NgIf block and boolean variable, but it works only ...
Mr Black's user avatar
1 vote
1 answer
410 views

<label for="bank_id">Bank</label> <select class="browser-default custom-select custom-select-sx col-md-12 mb-auto" (change)="selectedBank($event)"> ...
Onella Natalie's user avatar
0 votes
2 answers
485 views

I would like to do an angular 13 looping to split data to one column when duplicate entries came from database now I got like this I Want like this <table class="custom-table"> <...
Rishf P's user avatar
  • 49
0 votes
2 answers
107 views

In my table, I'm attempting to add a read more button to each row that has a paragraph. The button is displayed for each row, and when I click one, it operates concurrently for each row. Here is my ...
Fedy Belaid's user avatar
1 vote
1 answer
51 views

I am currently just adding randomized numbers to an array and displaying them to the user. <div *ngFor="let temp of randomIntArray; let i = index"> <div *ngIf="i ...
Damien Garlinge's user avatar
-2 votes
2 answers
3k views

I want to pass json data that I get from an API into an array and display that information in my template and I don't know how to do that. this error apears on my console : my ts file : this.api....
Fouad_Aurag's user avatar
0 votes
0 answers
141 views

I'm trying to display other component in my app with *ngFor. It doesn't render if I don't use detectChanges() in my method. Should it be like that? <button class="custom-button" (click)=&...
Kat's user avatar
  • 1
0 votes
1 answer
1k views

Hello a service is returning to me the available cards of a client like this: { "cards": [ { "id": "545451", "name": "Visa", ...
GreekSwiss's user avatar
0 votes
0 answers
411 views

I have a drop down list and it's corresponding sub dropdown lists created by two *ngFors. Clicking on the main drop down list item toggles the display of its child/sub dropdown list, and clicking on ...
man like dave's user avatar
0 votes
1 answer
532 views

Let’s say I have a list of cars: const cars: Array<{carId: number}> = [{carId: 1}, {carId: 2}]; And I render them in a template: <div *ngFor=“let car of cars”></div> Inside of that ...
katyusha's user avatar
  • 161
2 votes
2 answers
1k views

I have a table of variable length and in every cells I have an input(the default value of every input is 0), I need the user to edit the data that he wants, then when he press a button I need to have ...
pietro's user avatar
  • 51
0 votes
1 answer
117 views

I am coding a small angular app where the user choose a movie and add it to his favorite list. The favorite list is then displayed and each selected movie has a button to show/hide a div where the ...
Toto Briac's user avatar
2 votes
1 answer
3k views

Suppose I have a "ParentComponent" that has a list of items (let's say taken as an input) and needs to render the elements in the list. I need this parent component to be reusable however ...
Vee6's user avatar
  • 1,577

15 30 50 per page