Skip to content

Commit e98e183

Browse files
author
Vikas Agarwal
committed
Enabling layout property for radio group component so that we can have vertical layout for radio group
1 parent acaa6e1 commit e98e183

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
@@ -190,7 +190,7 @@ const SpecQuestions = ({
190190
break
191191
case 'radio-group':
192192
ChildElem = TCFormFields.RadioGroup
193-
_.assign(elemProps, {wrapperClass: cn('row', q.theme), options: q.options})
193+
_.assign(elemProps, { layout: q.layout, wrapperClass: cn('row', q.theme), options: q.options})
194194
// child = <TCFormFields.RadioGroup name={q.fieldName} label={q.label} value={value} wrapperClass="row" options={q.options} />
195195
break
196196
case 'tiled-radio-group':

0 commit comments

Comments
 (0)