Skip to content

Question in a relevant repeat isn't displayed in edit if it wasn't relevant in the submission #904

Description

@dbemke

Observed Behaviour

It seems that the question in a relevant repeat isn't displayed in edits (if it wasn't relevant in the submission).
In the form (screenshot 1 below) the relevant repeat appears after selecting option 1.
The issue occurs in edit when in the submission the relevant question didn't appear (option 2 or 3 was selected).

  1. The relevant repeat group in a new submission (text question + add repeat button):
Image
  1. The relevant repeat group in an edit ( no text question, just the add repeat button):
Image

In Enketo in edits the question and add repeat button appear.

Reproduction Steps

relevant_repeat_group.xlsx.txt

Steps:

  1. Open and new submission in https://staging.getodk.cloud/projects/235/forms/repeat_group_relevant/submissions
  2. Select option 2 and send the submission.
  3. Go to the submissions table and edit the submission.
  4. Select option 1 and check the relevant repeat text question.

Screenshots or Videos

https://jam.dev/c/b0feb2e6-de40-49a6-b445-7acea4595941

Environment

  • Browser: Chrome, Firefox
  • Web Forms version: 1.0.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions