Hello everybody.
I have two list, complementaries. The values nulled in list one are getting in list two.
this is my code
<p *ngFor="let field of block.fields">
<b>{{field.label}}: </b><br>
<span [hidden]="!field.value.label">{{field.value.label}}</span>
<span [hidden]="field.value.label">{{ticket.{{field.value.fieldname}}}}</span>
</p>
block.fields is the list one, and the value are stored in field.value.label iteration, and the field name are store in field.value.fieldname. Now I need insert the value in the list ticket, and the field name are same in both list.
how I can get the fieldname and add it at the second list. {{ticket.{{field.value.fieldname}}}} fail.
Thanks. YnievesDotNet