Skip to content

Commit 9b6e9d2

Browse files
author
Vikas Agarwal
committed
added checkbox to the list of accordion enclosable components.
1 parent 2866033 commit 9b6e9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projects/detail/components/SpecQuestions.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ class SpecQuestions extends React.Component {
401401
(isCreation || !question.hiddenOnEdit)
402402
).map((q, index) => {
403403
return (
404-
_.includes(['checkbox-group', 'radio-group', 'add-ons', 'textinput', 'textbox', 'numberinput', 'skills', 'slide-radiogroup', 'slider-standard', 'select-dropdown'], q.type) && q.visibilityForRendering === STEP_VISIBILITY.READ_OPTIMIZED ? (
404+
_.includes(['checkbox', 'checkbox-group', 'radio-group', 'add-ons', 'textinput', 'textbox', 'numberinput', 'skills', 'slide-radiogroup', 'slider-standard', 'select-dropdown'], q.type) && q.visibilityForRendering === STEP_VISIBILITY.READ_OPTIMIZED ? (
405405
<Accordion
406406
key={q.fieldName || `accordion-${index}`}
407407
title={q.summaryTitle || q.title}

0 commit comments

Comments
 (0)