I want to bind id to Angular material checkbox. I have an object item. When I inspect html I have item.id + '-input' But when I bind name it's okay: item.id This is my code: <mat-checkbox [id]="item.id"[name]="item.id"> Continue reading...