diff --git a/src/components/content-management/DynamicSchemaSlotField.tsx b/src/components/content-management/DynamicSchemaSlotField.tsx index 4321e4d..99adf58 100644 --- a/src/components/content-management/DynamicSchemaSlotField.tsx +++ b/src/components/content-management/DynamicSchemaSlotField.tsx @@ -32,7 +32,7 @@ import { DynamicMatchingInputsSlot, } from "./DynamicMatchingSlotField" import { - findMatchingInputsInFieldValues, + findMatchingInputsForAnswerRow, type MatchingInputsSlotValue, } from "../../lib/matchingSlotValue" import { @@ -41,7 +41,7 @@ import { } from "./DynamicSelectMissingWordsSlotField" import { DynamicSequenceOrderSlot } from "./DynamicSequenceOrderSlotField" import { - findSelectMissingWordsStimulusInFieldValues, + findSelectMissingWordsStimulusForResponseRow, type SelectMissingWordsStimulusValue, } from "../../lib/selectMissingWordsSlotValue" @@ -643,11 +643,14 @@ function DynamicMultipleChoiceSlot({ onChange, disabled, slotLabel: label, + groupName, }: { value: string onChange: (next: string) => void disabled: boolean slotLabel: string + /** Unique radio group name so multiple OPTION/MCQ slots do not share one Correct selection. */ + groupName: string }) { const parsed = parseMultipleChoiceSlotValue(value) @@ -700,7 +703,7 @@ function DynamicMultipleChoiceSlot({