Skip to content

Commit

Permalink
wrap-pre
Browse files Browse the repository at this point in the history
  • Loading branch information
szuprefix committed Jan 9, 2020
1 parent 9aebef5 commit 53f73b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/Widget.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<span v-if="field.widget === 'readonly'">
<span v-if="field.widget === 'readonly'" style="white-space: pre-wrap">
{{value[field.name]}}
</span>
<span v-else-if="typeof(field.widget) === 'function'" v-html="field.widget(value,field)">
Expand Down

0 comments on commit 53f73b8

Please sign in to comment.