Skip to content

Commit

Permalink
feat: add array conditions to dependent question in multiple_checkbox…
Browse files Browse the repository at this point in the history
…es (#126)
  • Loading branch information
masopego authored Dec 12, 2022
1 parent 7feb1d7 commit ae84e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const FormBuilder = ({
: conditionValue || []

return getMultiFormattedValue() &&
getMultiFormattedValue().some((e) => e === getConditions())
getMultiFormattedValue().some((e) => getConditions().includes(e))
? renderComponent()
: null
}
Expand Down

0 comments on commit ae84e7f

Please sign in to comment.