Skip to content
Snippets Groups Projects
Commit fdb41409 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Add html-support for RowEntry labels

parent 88195e3e
No related branches found
No related tags found
No related merge requests found
<template>
<div class="row gx-0" :class="classes">
<label class="col-sm-2 col-form-label fw-bold text-end px-2" for="name">
{{ label }}
<span v-if="htmlLabel" v-html="label"></span>
<template v-else>{{ label }}</template>
</label>
<div class="col-sm-10 col-form-label value px-2">
<slot />
......@@ -14,6 +15,7 @@ export default {
props: {
label: String,
class: String,
htmlLabel: Boolean,
},
computed: {
classes() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment