I want to be able to set the checkbox checked= true or checked= false
If a condition is true or false.
{{classroom.name}}
---
updateClassroom(item, cbox: Checkbox){
//cbox.preventDefault(); ------> Not Work
if(something){
cbox.checked = true
}else{
cbox.checked = false
}
}
0 comments:
Post a Comment
Thanks