I have an ngFor that loops over a list of roles that displays check boxes in a list in one column.
What I want to do is display this list over 2 columns.
I have the following code that prduces the single column list.
- class="form-check" *ngFor="let role of roles">
- class="row">
- class="col-6">
- class="form-check-input"
- type="checkbox"
- value="role.name"
- [checked]="role.checked"
- (change)="role.checked = !role.checked && (supplier = true)"
- [disabled]="
- role.name === 'Administrator' && user.userName === 'Admin'"
- />
Any help would be very much appreciated.
Michael SeeryPosted Aug 5, 2020, 10:22 PM
Michael SeeryPosted Aug 5, 2020, 8:10 PM
Jay Krishna ReddyPosted Aug 5, 2020, 2:24 AM