Answer the question
In order to leave comments, you need to log in
How to create a dynamic template in Angular?
I have JSON object data:
let data = {
id: 1,
имя: "Блок1",
fields: [{id: 1, fieldType: "input"}, {id: 1, fieldType: "table", sourceUrl: "http: //"}]
}
Answer the question
In order to leave comments, you need to log in
well there are options
I think calling http sourceUrl from a template in an ngfor loop is a bad idea.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question