How to get text on Dashboard Designer Components?
We are running the latest version of Mango (Enterprise) and I think there is a bug with the v3 dashboard designer, but not sure:
When we create a dashboard via the V3 UI -> Custom Pages -> Dashboard Designer
I put on a few Gauges, I then went to text and font and typed in a label for the gauges.
When I first type the label, it appears in the dashboard designer UI.
Then, when I click 'View Page', the text is gone. If I go back to the dashboard designer, the text is no longer visible on the preview screen, however it does still appear under 'Text and Font'.
As soon as I change the text by adding or removing a character, it shows back up on the preview screen, but once again disappears under view page.
Here's a video of the issue https://youtu.be/N8-dlilTB-E
I do believe your team has access to this instance if you want to troubleshoot or see it for yourself.
I work with @mihairosu -- he can show you as well.
- Occurs on the latest versions of Chrome and Safari -- Windows and OSX
- Nothing significant noted in inspector / console.
- In the inspector, the HTML / JS does not show the text in the preview screen.
Jared Wiltshire last edited by
@rshah The text content attribute in the designer sets the text in between the HTML start and close tag. e.g. if you put a div in then set its "Text content" to "my text" you will get a div like this
<div>my text</div>. Check the markup.
When a AngularJS component/directive is compiled it can make make use of this text content using transclusion but ours normally don't. I should probably hide the "Text content" attribute from the designer except for certain plain HTML tags like
To add a label like you are trying to do, drop a separate "Text box" (
<div>) from "Basic components" onto the page and position it where you would like.
That makes sense, appreciate the help!
Edited the title of the post to make it easier for people to find in the future if searching for something similar.