diff --git a/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/FeedbackBox.jsx b/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/FeedbackBox.jsx
index ceca801b0..508548a78 100644
--- a/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/FeedbackBox.jsx
+++ b/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/FeedbackBox.jsx
@@ -20,18 +20,7 @@ export const FeedbackBox = ({
intl,
};
- return ((problemType === ProblemTypeKeys.NUMERIC || problemType === ProblemTypeKeys.TEXTINPUT) ? (
-
-
-
- ) : (
+ return ((problemType === ProblemTypeKeys.MULTISELECT) ? (
+ ) : (
+
+
+
));
};
FeedbackBox.propTypes = {
diff --git a/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/FeedbackBox.test.jsx b/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/FeedbackBox.test.jsx
index ce104a6de..62c428ad8 100644
--- a/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/FeedbackBox.test.jsx
+++ b/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/FeedbackBox.test.jsx
@@ -22,7 +22,7 @@ describe('FeedbackBox component', () => {
test('renders as expected with a numeric input problem', () => {
expect(shallow()).toMatchSnapshot();
});
- test('renders as expected with a text input problem', () => {
- expect(shallow()).toMatchSnapshot();
+ test('renders as expected with a multi select problem', () => {
+ expect(shallow()).toMatchSnapshot();
});
});
diff --git a/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/__snapshots__/FeedbackBox.test.jsx.snap b/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/__snapshots__/FeedbackBox.test.jsx.snap
index b3eeefb28..3b47a03a4 100644
--- a/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/__snapshots__/FeedbackBox.test.jsx.snap
+++ b/src/editors/containers/ProblemEditor/components/EditProblemView/AnswerWidget/components/Feedback/__snapshots__/FeedbackBox.test.jsx.snap
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`FeedbackBox component renders as expected with a numeric input problem 1`] = `
+exports[`FeedbackBox component renders as expected with a multi select problem 1`] = `
@@ -33,10 +33,39 @@ exports[`FeedbackBox component renders as expected with a numeric input problem
}
}
/>
+
`;
-exports[`FeedbackBox component renders as expected with a text input problem 1`] = `
+exports[`FeedbackBox component renders as expected with a numeric input problem 1`] = `
@@ -105,34 +134,5 @@ exports[`FeedbackBox component renders as expected with default props 1`] = `
}
}
/>
-
`;