Set Form Element Property doesn't apply markdown to Text title
Hi, it seems Set Form Element Property doesn't apply markdown in Text element's title. I have tried ** My Title **, or =`**${$MyTitleVar}**` but no success. Same syntax works fine for Text description. Is it a bug or expected behaviour? thanks.
-
Hi Jack,
Markdown text and plain text are stored differently so the form knows which text to convert and which to show exactly as entered. You need to supply an object to the Property Value input with a property called "markdown".
Example:
= { "markdown": `**My Title**` }0 -
Thank Ken for the tip. It works well for the Text element. However, I found out the same syntax didn't work for Form Title. not sure if it's version related as we're We're using HTLM5 (2.11.1) which is not the latest. I'll try again later once upgraded to the latest.
0 -
Hi Jack,
While workflow itself does allow you to provide markdown for the form header, the host app makes the ultimate decision on how things are rendered, and applications such as Web AppBuilder and Geocortex Viewer for HTML 5 don't ever have stying on panel headers, so they just render as text.
Admittedly, this is not obvious and so we'll update the documentation to make this a bit clearer.
0
Please sign in to leave a comment.
Comments
3 comments