In your case patchValue syntax is wrong. Correct syntax is, this.firstFormGroup.patchValue({[item]: value});. use [item] instead of item.
確定! 回上一頁