Skip to content

Commit

Permalink
feat: allow html in forms (#209)
Browse files Browse the repository at this point in the history
INT-504
  • Loading branch information
FlorianSDV authored May 31, 2024
1 parent 17a72f3 commit 67bfea5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

<small
v-if="element.props?.description"
class="form-text text-muted">
{{ translate(element.props.description) }}
class="form-text text-muted"
v-html="translate(element.props.description)">
</small>

<div
Expand Down
5 changes: 3 additions & 2 deletions apps/admin-preset-default/src/components/DefaultFormGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
</slot>
</label>

<small v-if="element.props?.description">
{{ translate(element.props.description) }}
<small
v-if="element.props?.description"
v-html="translate(element.props.description)">
</small>
</PdkCol>

Expand Down

0 comments on commit 67bfea5

Please sign in to comment.