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
Some folks have expressions like jr:choice-name(indexed-repeat(${choice}, ${thing}, 1), '${choice}') in existing forms. This is intended to get the label of a selected value in a specific repeat instance from outside the repeat. People use it to display a summary of repeat data.
This generally worked ok before XLSForm/pyxform#603 when jr:choice-name was often used with inline choice lists. Now, an XLSForm that worked before gets converted to use secondary instances instead and that crashes because the reference we use to identify the current choices is unbound (it references a full nodeset rather than a specific node). With secondary instance choice lists, there could conceivably be a choice filter on the list that makes the choices different depending on the repeat instance.
The text was updated successfully, but these errors were encountered:
Forum post, report from support@
Some folks have expressions like
jr:choice-name(indexed-repeat(${choice}, ${thing}, 1), '${choice}')
in existing forms. This is intended to get the label of a selected value in a specific repeat instance from outside the repeat. People use it to display a summary of repeat data.This generally worked ok before XLSForm/pyxform#603 when
jr:choice-name
was often used with inline choice lists. Now, an XLSForm that worked before gets converted to use secondary instances instead and that crashes because the reference we use to identify the current choices is unbound (it references a full nodeset rather than a specific node). With secondary instance choice lists, there could conceivably be a choice filter on the list that makes the choices different depending on the repeat instance.The text was updated successfully, but these errors were encountered: