anywhere
Posts: 40
Joined: Tue Sep 08, 2020 3:04 am

HTML component does not wortk

Hi
As you do not have a subsection for IONIC 5, I am posting here.
When I try to render HTML in an HTML component it just renders the raw text.
Thanks

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Re: HTML component does not wortk

Hello,

It renders the HTML correctly. What issue here exactly do you have?

Could you please provide us with more details, screenshots, or exact steps to reproduce this problem?

anywhere
Posts: 40
Joined: Tue Sep 08, 2020 3:04 am

Re: HTML component does not wortk

Hi Serhii
I pop the HTML component into a grid cell and then pull html code from a col in a collection. It displays it as text with the tags and not as html as can be seen in the screenshot. I have tried No Wrapper, DIV and SPAN properties. Same result.

Attachments
mapping1.PNG
mapping1.PNG (52.11 KiB) Viewed 7431 times
Html Not rendering 3.PNG
Html Not rendering 3.PNG (53.47 KiB) Viewed 7431 times
Html Not rendering 2.PNG
Html Not rendering 2.PNG (58.04 KiB) Viewed 7431 times
Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Re: HTML component does not wortk

Could you please show the mapping from the service to the HTML component?

Does your data service return a pure HTML code?

Return to “Issues”