diff --git a/src/digital-components/question-chain/question-chain.vue b/src/digital-components/question-chain/question-chain.vue index 5f72221f..217c6dcb 100644 --- a/src/digital-components/question-chain/question-chain.vue +++ b/src/digital-components/question-chain/question-chain.vue @@ -123,7 +123,7 @@ export default { const answeredQuestions = []; // TODO: This forEach could probably be converted into something more reactive - this.questions.forEach((q) => { + this.questions.forEach((q, index) => { // find this question and mark it as "answered" by populating answerSelected if (q.questionSequence === questionNum) { q.answerSelected = returnedAnswer; @@ -134,6 +134,7 @@ export default { // (needed in case user is changing previously answered questions) if (q.questionSequence > questionNum) { delete q.answerSelected; + delete this.questionData[index].answerSelected; } if (q.answerSelected) { answeredQuestions.push({