0
I have a checkbox list (*ngFor):
<div *ngFor="let item of listaProcesso">
<input type="checkbox" ng-model="check"
(ngModelChange)="expression && expression[item.name]= $event ? true : undefined"
[ngModel]="expression && expression[item.name]"
name="referencia"
value="{{item.value}}"
id="{{item.value}}"
(change)="checkValue(item.value)"
(change)="onItemChange(item.value)" />
<!-- (change)="checkValue(item.value)" (change)="onItemChange(item.value) -->
{{item.name}}
</div>
<div>
//Esta será controlada
</div>
From there, I need to control (show/hide) another div, since only one option of this checkboxes selected from this would control this div. I’m a beginner in
Possible duplicate of How to hide/show a div in HTML?
– Natan Barros