addControl is what you need. Please note the second parameters must be a FormControl instance like so: this.testForm.addControl('new' ...
確定! 回上一頁