Skip to content

Commit

Permalink
added preview props
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis committed Aug 28, 2023
1 parent 5c73217 commit 497e0c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/admin/DynamicForm/components/QuestionPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ const QuestionPreview = (props) => {
<FormGroup>
{choicesArr.map((item) => {
if (item === "...") {
return <OtherCheckbox key={item}/>;
return <OtherCheckbox key={item} otherData={{
}} onChange={() => {}}/>;
}
return (
<FormControlLabel
Expand Down

0 comments on commit 497e0c9

Please sign in to comment.