From 876d3aee282be84e0d86c38c2efebf289f78d906 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Fri, 24 Sep 2021 02:09:27 +0300 Subject: [PATCH] CLASSROOMIO-T-17: Disable form on toggle preview --- .../Course/components/Lesson/Exercise/Preview.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Course/components/Lesson/Exercise/Preview.svelte b/src/components/Course/components/Lesson/Exercise/Preview.svelte index 1ee8eab2..aba50f12 100644 --- a/src/components/Course/components/Lesson/Exercise/Preview.svelte +++ b/src/components/Course/components/Lesson/Exercise/Preview.svelte @@ -30,6 +30,7 @@ gradeMax={currentQuestion.points} handleGrade={handleGrade(currentQuestion.id)} {disableGrading} + disabled={true} /> {:else if QUESTION_TYPE.CHECKBOX === currentQuestion.question_type.id} {:else if QUESTION_TYPE.TEXTAREA === currentQuestion.question_type.id} {/if} {/each}