I would like to use HTML tags in a description formly input field.
When I use the following code:
The description field is displayed as follows:
The sample can be found here (mapping-stepper.component.ts).
How can I achieve this?
c8y-form-field wrapper doesn’t support rendering dynamic HTML. One way to achieve what you need is to create your own wrapper and use ngx-bootstrap popover component to render dynamic HTML from your form configuration. An example can be found here. How to create your Formly custom wrapper is explained in this article.
Hi @Bozhidar.Dedov, thank you very much.
The documentation & sample were very helpful, then it was straightforward.
as the mentioned links are likely going to break somewhen, it would be cool if you could provide a “little snippet” of how you solved that issue, if feasible. Or if it’s too much code, at least point to the lines of code in your public mqtt mapper repository.