euvl/vue-js-toggle-button

Labels no longer allow for HTML

Closed this issue · 1 comments

axtg commented

Seems like the latest version has some impact on being able to show HTML for labels (e.g. ). Without any other code changes, this now parses as text, not the intended tag.

Temporary solution can be to define direct unicode characters (✔ and ✖ in my case).

euvl commented

You can use (checked/unchecked) slots now

  From the code: 

  <slot name="checked">
        <template>{{labelChecked}}</template>
    </slot>