I am generating checkboxes inside an *ngFor using Angular 6 Material 6. The checkboxes are displayed properly. But when I click on any one of the checkboxes, they are flickering and not able to be checked properly.
I tried it in stackblitz, where it is working properly. I don't know if anything I have missed. I am struggling from past one week.
I have imported it properly in app.module.ts like this:
import {MatCheckboxModule} from '@angular/material/checkbox';
This is my code. Please suggest me any dependencies other than this I need to include.
<div *ngFor="let prop of reflectUI; let i = index">
<mat-checkbox>prop</mat-checkbox>
</div>
Please Guide me.