Angular.io does not print my form

0

Good morning, I am creating a pure component to generate forms. The problem I have is that it generates the labels well but it shows me the HTML code instead of printing the input.

This is my code:

<div *ngFor="let i of cols" class="form-group">
    <input 
        type="{{i.type}} "
        class="form-control" 
        name="{{i.id}}" 
        placeholder="{{i.title}}"
        ... />
</div>

And print this:

I do not know how to make me generate the code.

    
asked by Isaac R 12.06.2017 в 09:46
source

0 answers