Hi,
I am trying to create syncfusion textbox in loop whose properties are defined by loop variable. When I provide fixed value for name, it worked fine. As soon as I use loop variable value in name, it results into errors.
Code snippet:
Fixed value which is working good:
<ejs-textbox placeholder="c05" floatLabelType="Always" id="AttributeC05" name="AttributeC05"></ejs-textbox>
<div *ngFor="let data of ColumnConfigurationArray" class="col-lg-6">
<ejs-textbox placeholder="{{data.ColumnName}}" floatLabelType="Always" id="{{data.ColumnName}}" name="AttributeC05" >
</ejs-textbox>
</div>
Variable value results in error:
<div *ngFor="let data of ColumnConfigurationArray" class="col-lg-6">
<ejs-textbox placeholder="{{data.ColumnName}}" floatLabelType="Always" id="{{data.ColumnName}}" name="{{data.ColumnName}}" >
</ejs-textbox>
</div>