From 18f6b9c5d047286314c07017a1002d09f8272bcd Mon Sep 17 00:00:00 2001 From: Christian Hartmann Date: Mon, 17 Feb 2025 23:37:01 +0100 Subject: [PATCH] feat(frontend): Implement drag-and-drop reordering for dropdown options Signed-off-by: Christian Hartmann --- src/components/Questions/AnswerInput.vue | 102 ++++++++++-------- src/components/Questions/QuestionDropdown.vue | 67 +++++++----- src/components/Questions/QuestionMultiple.vue | 97 +++++++++-------- src/mixins/QuestionMultipleMixin.ts | 62 ++++++----- src/models/Entities.d.ts | 1 + 5 files changed, 196 insertions(+), 133 deletions(-) diff --git a/src/components/Questions/AnswerInput.vue b/src/components/Questions/AnswerInput.vue index c355b59be..aca06b1d2 100644 --- a/src/components/Questions/AnswerInput.vue +++ b/src/components/Questions/AnswerInput.vue @@ -28,34 +28,36 @@