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

Form reference in choice used in select in repeat parents up too far #663

Open
lognaturel opened this issue Oct 25, 2023 · 0 comments
Open

Comments

@lognaturel
Copy link
Contributor

Choice labels can include references to fields in the main instance using output. I assume the reference is intended to be evaluated in the context of the select node.

When a choice is in a repeat and attempts to reference a field also in that repeat, parenting goes up too far. I'm not sure whether it's because pyxform doesn't have enough information to get the expression correct or whether it could be made to work. This is weird on a number of levels because the list could be used by different selects in which case the path expression would need to be different.

Sample form

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