0

I wanted to append the properties of input tag like id, name and value to be added dynamically to the HTML.

<input [id]="cid" [name]="cname" [value]="cvalue"/>

cid, cname and cvalue are available from component in ngOnInit() call.

would this be suffice or is there any other way?

0 Answers0