How to render HTML from Json webtemplate

101 views Asked by At

I have my own json webtemplate where it contains nested elements. I want to render HTML according to the json contained in webtemplate.

I used ngx-schema-form, but I don't have properties variable inside my json. And also used formly but I couldn't achieve with that as well.

How can I achieve this?

1

There are 1 answers

1
Sanjay Kumar P On

if you are using "ngx-schema-form", you will have to modify your json w.r.t the needs of the library, the "properties" will be used by the library to dynamically create a form control.