When new data comes in, the table gets populated and I can't specify that "A" should be checked while "D" shouldn't.
re(ref: getrefactormodel, count:number){
let data= this.fb.group({
word_to_rename: [ref.word_to_rename, Validators.required],
renowned_word: [ref.renowned_word, Validators.required],
name:[ref.name, Validators.required],
id:[ref.id, Validators.required],
activecheck:[ref.activecheck, Validators.required]
});
this.refactorFormGroupItemsArray.insert(counter,data);
}
Is there a way to set up an input so that if the value is A it checks, but if it's D it doesn't?
<input type="checkbox" formControlName="activecheck" value="D" />