Skip to content

Commit

Permalink
fix: allow html in forms
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianSDV committed May 23, 2024
1 parent 17a72f3 commit ccbe96e
Showing 1 changed file with 3 additions and 2 deletions.
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)">

Check warning on line 16 in apps/admin-preset-default/src/components/DefaultFormGroup.vue

View check run for this annotation

Codecov / codecov/patch

apps/admin-preset-default/src/components/DefaultFormGroup.vue#L16

Added line #L16 was not covered by tests
</small>
</PdkCol>

Expand Down

0 comments on commit ccbe96e

Please sign in to comment.