Dynamic form array with dynamic options
问题 I want to make a student able to choose several workshops in a dynamic number of school subjects 1.- I have a config array, this array have the number of options of the student will choose for every subject let configarray = {initdate: 2019-07-01, subjectnumber: 4}; In this example for every subject the student will be able to choose 4 options. let b = this.FormGuardar.get("opciontaller") as FormArray; for (let i = 0; i < configarray.subjectnumber; i++) { let preregistro = this._fb.group({