diff --git a/client/src/components/QuizRunner.tsx b/client/src/components/QuizRunner.tsx index 47e0e9f..0f31829 100644 --- a/client/src/components/QuizRunner.tsx +++ b/client/src/components/QuizRunner.tsx @@ -115,6 +115,7 @@ function QuestionRenderer({ placeholder="Type the missing text" value={response || ''} onChange={(e) => onChange(e.target.value)} + disabled={showResult} /> {Array.isArray(payload.options) && payload.options.length > 0 && (
Hints: {payload.options.join(' • ')}
@@ -141,6 +142,7 @@ function QuestionRenderer({ const current = response && typeof response === 'object' ? response : {}; onChange({ ...current, [idx]: e.target.value }); }} + disabled={showResult} > {rightOptions.map((opt, optionIdx) => ( @@ -175,6 +177,7 @@ function QuestionRenderer({ checked={response === idx} onChange={() => onChange(idx)} name={`q-${question.id}`} + disabled={showResult} /> {option}