Skip to content

Conditional logic not working properly with groupable fields #57

@villesiltala

Description

@villesiltala

If you pass for example a true/false field object for the add_condition_logic() method to control visibility of a groupable field, a repeater in this case, the condition will hide the subfields of the groupable field but not the field itself. If you change the add_condition_logic() method parameter to a field key of a true/false field, then the whole repeater field is hidden if the condition is met.

Here are screenshots of the condition logic functionality when using the object as the parameter. The repeater should be hidden if the true/false is set to "Ei".

Condition not met:
nayttokuva 2018-10-16 kello 16 26 39

Condition met:
nayttokuva 2018-10-16 kello 16 26 47

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions