Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Nested Conditional Fields #9

Open
suhmantha1 opened this issue Sep 17, 2015 · 1 comment
Open

Nested Conditional Fields #9

suhmantha1 opened this issue Sep 17, 2015 · 1 comment

Comments

@suhmantha1
Copy link
Contributor

It currently does not work to have a conditional field nested within a field that is displayed as a conditional I.E. Show B only if A is selected, and then show C only if a certain choice within B is selected --- currently, C is always displayed in this scenario.

@mcoppola
Copy link
Contributor

Code for this is in editor.js.

Conditional fields are initially hidden in afterPopulateFields(), and are rechecked with every enhance event. The toggleHiddenFields() function will likely need extending.

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

No branches or pull requests

2 participants