diff --git a/web/src/components/inputs/FormatedText.vue b/web/src/components/inputs/FormatedText.vue index 6c137d0..ea52e94 100644 --- a/web/src/components/inputs/FormatedText.vue +++ b/web/src/components/inputs/FormatedText.vue @@ -20,8 +20,8 @@ export default { emits: ['input'], methods: { rawhtml(value) { - if (typeof format === 'function') { - return format(value); + if (typeof this.format === 'function') { + return this.format(value); } else { return value; }