Support » Plugin: Block Lab » parse radio labels as html?

  • Resolved Insomnia88


    I wanted to add a possibility to add custom icons via some kind of list. I tried to achive that by using the radio-field and add my values/labels but it seems that the labels are parsed as text and not as html. So my icons are not displayed. Is there any plan to add this in the future or a workaround for me?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor stino11


    Hi @insomnia88,

    I’m not sure I fully follow what you’re describing. To confirm, you’re talking about more than just being able to add an image (icon)?


    I build my own block. The block should give the user the opportunity to place an icon. I can do that by just passing the names of the icons but this way the user don’t really know waht he places. That’s why I wanted to display the targeted icons as the labels but the radio-field doesn’t seem to allow/parse html inside the labels so it’s impossible for me to show the icons.

    I solved this problem by passing the html value of the parsed icon instead of the parameters. Still would be nice to use html inside the labels.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘parse radio labels as html?’ is closed to new replies.