FormArray not working, Cannot read property 'controls' of undefined


#1

Hi Anyone have FormArray Example.i dont have any idea how it work.

My Profile.ts file code

this.Profile 	= formbuilder.group({
	      address		: ['', Validators.required],
	      city			: ['', Validators.required],
	      state			: ['', Validators.required],
	      landline		: [''],
	      email			: [''],
	      website		: [''],
	      crop			: [''],
	      fields		: formbuilder.array([

	      	this.formbuilder.group({

	      		acre : ['']
	      	}),

	      	]),
	    });

My HTML

<div class="card" *ngFor="let field of Profile.controls.fields.controls; let i = index">
	<ion-input type="text" formControlName="{{ i }}" name="crop" placeholder="How many acres of {{ detail }}"></ion-input>
</div>