python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Property 'Rows' comes from an index signature, so it must be accessed with ['Rows']
I am trying to use FormArray but I am getting an error:
Property 'Rows' comes from an index signature, so it must be accessed with ['Rows'].
*ngFor="let itemrow of invoiceForm.controls.Rows.con...
Mohamed Irshath
Votes: 0
Answers: 1
What's the best way to add/remove dynamically Form Array item?
Here's how I bind data received from an API to my Form Group/Array, on the CTOR:
this.api.getRecipe(id).subscribe((data) => {
this.form = this.fb.group({
nome: [data.nome, [Validators.r...
markzzz
Votes: 0
Answers: 1
How to bind FormArray retrieve by API?
Here's how I retrieve data from API and bind on FormGroup elements in angular:
this.api.GetRecipe(id).subscribe((data) => {
this.form = this.fb.group({
nome: [data.nome, [Validators.required]...
markzzz
Votes: 0
Answers: 1
angular patchValue form Array and check the preselected checkboxes again
in one of my angular components i have a reactive form and one of the controls is a formArray, i will post some code that explains how i am adding objects into the form Array
let portfolio: Array<a...
GreekSwiss
Votes: 0
Answers: 0