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

Support selection cascades #187

Open
ChinHairSaintClair opened this issue Jul 15, 2024 · 0 comments
Open

Support selection cascades #187

ChinHairSaintClair opened this issue Jul 15, 2024 · 0 comments

Comments

@ChinHairSaintClair
Copy link

Due to config being captured in JSON format, and the current state of ValidatorSelectOne, it does not seem possible to filter selections such as through the XLSXForm.
Eg. Select a sub node, which filters available options for the nodes, then select a node from the list.

A small subset of our cascade (in the choices sheet) can see below:

list_name name label::en sub_district
sub_districts_metro eastern Eastern
sub_districts_metro khayelitsha Khayelitsha
nodes EERSTE_RIVER_CDC EERSTE RIVER CDC eastern
nodes WESBANK_CDC EERSTE RIVER CDC eastern
nodes TOWN_2_CDC TOWN 2 CDC khayelitsha
nodes NOLUNGILE_CDC NOLUNGILE CDC khayelitsha

The form items are as follows:

type name label::en choice_filter
select_one sub_districts_metro sub_district Sub District
select_one nodes node Node sub_district=${sub_district}
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