Revision 50977
Added by Myrto Koukouli about 6 years ago
my-array.interface.ts | ||
---|---|---|
101 | 101 |
/* (<FormGroup>this.parentGroup).addControl(<string>this.name, this._fb.array([])); |
102 | 102 |
!this.initEmpty && this.createView(); |
103 | 103 |
this.parentGroup.get(this.name as string).patchValue = this.patchValue();*/ |
104 |
if (this.data) { |
|
104 |
if (this.data && this.data.length) {
|
|
105 | 105 |
for (let i=0; i<this.data.length; i++ ) { |
106 | 106 |
!this.initEmpty && this.createView(); |
107 | 107 |
this.parentGroup.get(this.name as string).patchValue = this.patchValue(); |
Also available in: Unified diff
finalized sources register and update