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

Image formatting for select_multiple choices does not work when used alongside choice filters #466

Closed
DavisRayM opened this issue Sep 1, 2020 · 1 comment

Comments

@DavisRayM
Copy link
Contributor

DavisRayM commented Sep 1, 2020

Software and hardware versions

pyxform v1.1.0

Problem description

When an XLSForm contains a select_multiple question that has choices with Image formatting plus a choice filter. The image formatting is ignored, the question body only includes the name and label and ignores the translation. An example would be this form:

<h:body>
    ...
    <itemset nodeset="instance('birdsseen')/root/item[selected( /data/birds_sighted ,cf)]">
      <value ref="name"/>
      <label ref="label"/>
    </itemset>
</h:body>

Steps to reproduce the problem

Create an XLSForm with a filtered(choice filter) select_multiple question that has choices with the media::image column

Expected behavior

Choices with image formatting should display the image in the question.

Other information

  • Full XML; for the XML snippet provided above
  • Tested out select_multiple without choice_filter and that seems to work fine
@lognaturel
Copy link
Contributor

Duplicate of #464.

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

2 participants