You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Enketo v2.8.0-11-g98f7412 does not evaluate relevance on the second iteration of a nested repeat.
To Reproduce
Given a form like this:
I expect each iteration of field_asset_rpt to show me the nested documentation_rpt and instrumentation_rpt repeats if I select yes for documentation_exists or instrumentation_exists. In the first iteration of field asset, it works great. In the second iteration, I don't see either documentation or instrumentation repeats.
The screenshot below shows the current behavior for just the instrumentation repeat. Green arrows are the first iteration which works great and shows instrumentation. Red arrows are the second iteration which doesn't.
Describe the bug
Enketo v2.8.0-11-g98f7412 does not evaluate relevance on the second iteration of a nested repeat.
To Reproduce
Given a form like this:
I expect each iteration of
field_asset_rpt
to show me the nesteddocumentation_rpt
andinstrumentation_rpt
repeats if I select yes fordocumentation_exists
orinstrumentation_exists
. In the first iteration of field asset, it works great. In the second iteration, I don't see either documentation or instrumentation repeats.The screenshot below shows the current behavior for just the instrumentation repeat. Green arrows are the first iteration which works great and shows instrumentation. Red arrows are the second iteration which doesn't.
I've included test XLSForm and XML at enketo-repeat-bug.zip. The XLSForm was converted at https://getodk.org/xlsform and XML was prettified to make the XML easier for humans to read.
Expected behavior
A clear and concise description of what you expected to happen.
Browser and OS (please complete the following information):
Additional context
Works great in Collect.
The text was updated successfully, but these errors were encountered: