Correction du type dans la définition du modèle pour le champ de valeur dans CommentEditor.vue

This commit is contained in:
Boris Waaub
2026-02-04 17:04:57 +01:00
parent 7e59cf02e1
commit 8ae48015b1

View File

@@ -39,7 +39,7 @@ enum EditorKind {
const EDITOR_MODE_KEY = "editorMode";
const kind = ref<EditorKind>(EditorKind.SIMPLE);
const value = defineModel<string>({ required: true });
const value = defineModel({ required: true, type: String });
const isSimple = computed(() => kind.value === EditorKind.SIMPLE);