Posts by Bruno • 13 points
5 posts
-
0
votes1
answer31
viewsQ: Variable Sharing between Angular Components
How do I use variables from an Angular component in the following context? In a component I have a variable that is an array of a class created in that same component, this variable controls the…
-
0
votes0
answers18
viewsQ: Reactive form Input with matInput
I implemented an input text field that searches the elements in a list, this working is correct, but when typing the words it does not allow spaces in compound names that are already found in the…
-
0
votes2
answers104
viewsA: Change background color of a table Row using checkbox
Was solved by declaring a variable in TS: selection = new SelectionModel<any>(true, []); In HTML, the validation is like this: [ngClass]="{'item-selected': selection.isSelected(element)}"…
-
0
votes1
answer203
viewsQ: Disable Components with Angular
I have a list with checkbox (inside a table) and need to disable all screen components when a checkbox is marked. I’m trying to use the ngClass with disabled, as follows: <div…
-
0
votes2
answers104
viewsQ: Change background color of a table Row using checkbox
I’m trying to change the color of a row when a checkbox is selected, but when selected only one, the table the entire color is changed, the check remains only in the selected one, but the color is…