Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional logic not working properly with groupable fields #57

Open
villesiltala opened this issue Oct 16, 2018 · 0 comments
Open

Conditional logic not working properly with groupable fields #57

villesiltala opened this issue Oct 16, 2018 · 0 comments

Comments

@villesiltala
Copy link

villesiltala commented Oct 16, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant