How to unchecked all checked checkbox in angular 6
问题 I have a dynamic list of data, and each element is shown as a checkbox. The elements I checked are saved in an array. After I save the array, I want all the checked checkbox to be unchecked when I press a button, but it doesn't work. I want to unchecked the selected checkbox after I saved the array. Please help me to find a solution. Thanks. Stackblitz link here ts file: export class AppComponent { userRoleListTemp: any = []; userRoleListToSave: any = []; checkedInfo: any; appUserRoleList: