Posts by Bruno Eduardo Rosselli • 179 points
15 posts
-
0
votes0
answers28
viewsQ: Is it possible to use the *ngFor filter of a parent component in a child component?
I wonder if it is possible to use the filter of *ngFor to filter the items of a table that is inside the parent component and the input search that is inside the child component and show the result…
-
0
votes1
answer37
viewsA: When I Select A Checkbox All Are Selected (Only The Chosen Must Be Checked)
Well, I figured out why. Basically when I’m assigning the [(ngModel)] for all Checkboxs that are created within my table, and when I change the value of isActive I end up changing for everyone. The…
angularanswered Bruno Eduardo Rosselli 179 -
-1
votes1
answer37
viewsQ: When I Select A Checkbox All Are Selected (Only The Chosen Must Be Checked)
When I select a Checkbox all of them are selected, I need only the chosen Checkbox to be selected. Can you help me? Thank you! table.component.html: <table class="table"> <thead…
angularasked Bruno Eduardo Rosselli 179 -
1
votes0
answers50
viewsQ: Variable returning Undefined
I need to reclaim the value of one p which sits within one of my Components, that p receives the value of my API when the page is loaded. To do this, I made one [(ngModel)]="user" and created a…
angularasked Bruno Eduardo Rosselli 179 -
0
votes1
answer58
viewsQ: Table displays only the last Repeat Loop value
I made a table that searches 100 items from within my API, now I need to number the rows in that table. For that, I created a variable number called columns and made a FOR: colunas: number;…
-
1
votes2
answers42
viewsA: Method returns [Object Object]
Well, after much research and study and taking as advice Jean’s comment I managed to solve the problem. The final code of listPokemons looks like this: listarPokemons(){…
-
1
votes2
answers42
viewsQ: Method returns [Object Object]
I am building an application that should create a list of Pokemons, but I have the following problems: My table that should display the Pokemon list does not display anything. When I do the…
-
1
votes1
answer23
viewsA: Error Initializing Model Class. Error (2693)
Well, after a lot of tests... What was happening was that in the Alunomodel model the export was being made as: export interface AlunoModel I changed the export and made it like: export class…
angularanswered Bruno Eduardo Rosselli 179 -
0
votes1
answer23
viewsQ: Error Initializing Model Class. Error (2693)
I have the following error in my code: **'AlunoModel' only refers to a type, but is being used as a value here.ts(2693)** I need to create an object to put in my API, so I created a Model of my API…
angularasked Bruno Eduardo Rosselli 179 -
0
votes0
answers34
viewsQ: API Goes Blank when Updated
I am crud using Angular and am having trouble updating the values of my API objects. Basically, when I run the update method it updates in the API, but the field that has been updated, instead of…
angularasked Bruno Eduardo Rosselli 179 -
0
votes1
answer44
viewsA: Angular Delete Operation Returns Undefined
Well, looking at my code I saw that I was using the form in the wrong way. To fix this I implemented the [(ngModel)] inside my form and replaced the span with an input of type text that got as…
angularanswered Bruno Eduardo Rosselli 179 -
0
votes1
answer44
viewsQ: Angular Delete Operation Returns Undefined
I need to delete an item from my API, so I did a service that runs a delete according to the ID it receives from my application’s ID field. I also made a method that invokes this service and…
angularasked Bruno Eduardo Rosselli 179 -
-2
votes1
answer141
viewsQ: Problem when Exchanging Image with Javascript
Hello! I made a feature using Javascript to swap one image for another. The idea is that there is a main image, that main image should be switched when clicking on the secondary images below it, and…
javascriptasked Bruno Eduardo Rosselli 179 -
-2
votes2
answers564
viewsQ: Pop-up effect with HTML, CSS and Bootstrap
Hello! I’m developing a site with HTML5, CSS and Bootstrap. I want to apply a "Appearing" effect to the items on my page, the idea is that as the scroll bar descends the items will appear from…
-
-1
votes2
answers2311
viewsQ: CSS - H1 Does not align in the center
Hello! I made a code in which my logo is an H1 and I want it to always align in the center of the screen. For some reason he doesn’t come out on the left side, I don’t understand why. Can you help…