As ngModel is two-way binding enabled, prepopulating the model array with values is enough to display the related checkboxes as checked by default. export class ...
確定! 回上一頁