Applying markdown to formItem labels when populated by workflow
I'm trying to set labels with 'Markdown' text in the items of a CheckBoxGroup,
I'm populating the Checkbox group from a collection that has 'label, and checked' properties. I was hoping the markdown text would just work as is, but there must be another trick to it...
0
-
I figured it out...
If the label attribute contains markup, it's value needs to be a json dictionary:
"label" : {"markdown":"**Title** - *italic description*"}
so i just had to store it like that in my collection items and it works as expected.
0 -
Thanks Ryan for sharing the tip.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires