OpenSourcePolitics / decidim

Fork of Decidim
http://www.decidim.org
GNU Affero General Public License v3.0
20 stars 4 forks source link

Fix display condition answer option #1231

Open Stef-Rousset opened 2 months ago

Stef-Rousset commented 2 months ago

:tophat: 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.

:pushpin: 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

:camera: Screenshots (optional)

ONE =>

one

TWO =>

two