HTML Area element is not appearing data provider under certain situations.
EXAMPLE
I have a dataprovider that showcases html. This dataprovider shows up in the NG Grid columns for example.
Now, when I try and showcase this dataprovider within an HTML Area it just appears blank. Only the toolbar of the HTML Area is there… Sometimes. Other dataproviders will appear just fine. Other’s won’t.
VERSION
Version: 2021.3.0.3642
COMMENTS
I have no idea why it’s working for some dataproviders and not others.
My only guesstimate is that some of the data may actually have Rich Text instead of HTML, would that cause any conflicts with the HTML Area?
john1598360627:
My only guesstimate is that some of the data may actually have Rich Text instead of HTML, would that cause any conflicts with the HTML Area?
Yes, Rich Text will not render in a HTML Area. For that you have the RTF_AREA display type.
So I looked up the database data. I can confirm that the text is just text with some newline breaks every so often.
I did something though, I switched the dataprovider for the html area that is working with one that isn’t work and… the dataprovider works ONLY on one HTML Area. Even stranger is that the text appears if I do attach it to a textbox.
1st - Textbox displaying the dataprovider.
2nd - HTML Area not displaying the same dataprovider
[attachment=1]Screenshot 2021-12-15 141252.png[/attachment]
The final HTML Area on the page, displaying the same dataprovider as the previous elements. However, shows up ONLY in this last HTML Area. It it setup the exact same way as the other HTML Area mind you.
[attachment=0]Screenshot 2021-12-15 141232.png[/attachment]
… What is going on? Is only one HTML Area allowed on a page at a single time? Why does only one HTML Area work at a time?
jcompagner:
i did a quick test and it works fine for
2 html area’s both the same dataprovider and it is showing fine and i can adjust one or the other.
I’m using multiple different dataproviders per HTML area. 3 different HTML Areas, 3 different dataproviders. Is only 1 dataprovider allowed for HTML areas per form?