在使用Angular material 5.2.5的angular 5应用程序中,当使用此代码时,默认选中的单选按钮正在工作,但控制台中存在错误<mat-radio-group [(ngModel)]="collection"> *ngFor="let coll of collectionscoll.endPoint"
[checked]=
我对默认选中的项目有问题。默认复选框起作用,但当我按下一个按钮以显示所有选中的项目时,默认检查不会显示(它们显示为未选中),但如果我取消选中并再次选中它,则它会起作用。print()" ng-checked="godina.checked" ng-repeat="godina in godine">{{godina["title"]}}</ion-checkbo