Skip to content

Conditional questions don't allow selecting the triggering option when the parent question is of type "Multi Checkbox" #1363

Description

@JFormoso

Hi! When configuring a conditional question, the form builder lets you choose which specific option of the parent question must be selected for the conditional question to be displayed, but only when the parent question is of type multi Choice. When the parent question is of type multi checkbox, that option selector does not appear.
I think the problem may be the following but I am not sure: The dependency component in webapp/src/pages/createApplicationForm/components/util.js (lines 338–423) contains two explicit conditional branches based on the parent question's type (dependentQuestion.type), but there is no third branch for dependentQuestion.type === 'multi-checkbox'. As a result, when the parent question is of this type, none of the above conditions are met and the option-selector block is simply never rendered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions