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

Fix display condition answer option #1231

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

Stef-Rousset
Copy link

@Stef-Rousset Stef-Rousset commented Sep 12, 2024

🎩 What? Why?

When in a Questionnaire you create a Question with a Display Condition, you select a question that have 2 choices (Matrix Single option or Multiple options) and set the condition "Equal to" the dropdown list of the Answer option is empty.

📌 Related Issues

TESTING

  1. Create a Questionnaire Template
  2. Create a first mandatory question of Matrix Type Single option with 2 answer choices (cf screenshot one)
  3. Create a 2nd Question with a display condition.
  4. For the condition question, select the 1st question and then for the condition select "Equal to"
  5. Click on the Answer option dropdown list
  6. See that the dropdown list contains the 2 answer options of the first question (cf screenshot two)

Tasks
[X ] Add specs

📷 Screenshots (optional)

ONE =>
one
TWO =>
two

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: ['type: feature', 'type: change', 'type: fix', 'type: removal', 'target: developer-experience', 'type: internal']

@Stef-Rousset Stef-Rousset marked this pull request as ready for review September 12, 2024 12:25
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

Successfully merging this pull request may close these issues.

1 participant