From 8b708f8c73c01c96db2f8ff638fa94cf86e2c43d Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 15 Jan 2026 14:50:18 +0100 Subject: [PATCH] fix CommentInput: replace deprecated value binding with model-value --- .changes/unreleased/Fixed-20260115-145334.yaml | 6 ++++++ .../AccompanyingCourseWorkEdit/components/CommentInput.vue | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changes/unreleased/Fixed-20260115-145334.yaml diff --git a/.changes/unreleased/Fixed-20260115-145334.yaml b/.changes/unreleased/Fixed-20260115-145334.yaml new file mode 100644 index 000000000..cc740fb81 --- /dev/null +++ b/.changes/unreleased/Fixed-20260115-145334.yaml @@ -0,0 +1,6 @@ +kind: Fixed +body: 'fix CommentInput: replace deprecated value binding with model-value' +time: 2026-01-15T14:53:34.733888032+01:00 +custom: + Issue: "492" + SchemaChange: No schema change diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/CommentInput.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/CommentInput.vue index 84a27a5ed..e283aff8a 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/CommentInput.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/CommentInput.vue @@ -8,8 +8,8 @@ :editor="ClassicEditor" :config="classicEditorConfig" :placeholder="trans(EVALUATION_COMMENT_PLACEHOLDER)" - :value="comment" - @input="$emit('update:comment', $event)" + :model-value="comment" + @update:model-value="$emit('update:comment', $event)" tag-name="textarea" >