CLASSROOMIO-T-17: Disable form on toggle preview
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
gradeMax={currentQuestion.points}
|
gradeMax={currentQuestion.points}
|
||||||
handleGrade={handleGrade(currentQuestion.id)}
|
handleGrade={handleGrade(currentQuestion.id)}
|
||||||
{disableGrading}
|
{disableGrading}
|
||||||
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
{:else if QUESTION_TYPE.CHECKBOX === currentQuestion.question_type.id}
|
{:else if QUESTION_TYPE.CHECKBOX === currentQuestion.question_type.id}
|
||||||
<CheckboxQuestion
|
<CheckboxQuestion
|
||||||
@@ -46,6 +47,7 @@
|
|||||||
gradeMax={currentQuestion.points}
|
gradeMax={currentQuestion.points}
|
||||||
handleGrade={handleGrade(currentQuestion.id)}
|
handleGrade={handleGrade(currentQuestion.id)}
|
||||||
{disableGrading}
|
{disableGrading}
|
||||||
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
{:else if QUESTION_TYPE.TEXTAREA === currentQuestion.question_type.id}
|
{:else if QUESTION_TYPE.TEXTAREA === currentQuestion.question_type.id}
|
||||||
<TextareaQuestion
|
<TextareaQuestion
|
||||||
@@ -62,6 +64,7 @@
|
|||||||
gradeMax={currentQuestion.points}
|
gradeMax={currentQuestion.points}
|
||||||
handleGrade={handleGrade(currentQuestion.id)}
|
handleGrade={handleGrade(currentQuestion.id)}
|
||||||
{disableGrading}
|
{disableGrading}
|
||||||
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
Reference in New Issue
Block a user