collect icon indicating copy to clipboard operation
collect copied to clipboard

Answers from select one questions are not read properly if they start/end with whitespaces and come from an external file

Open grzesiek2010 opened this issue 1 year ago • 4 comments

Problem description

Answers from select one questions are not read properly if they start/end with whitespaces and come from an external file I prepared a test form with three questions where:

  • the first one has choices that come from the XML file itself
  • the second one has choices from an external csv file (select_one_from_file)
  • the fired one has choices from an external csv file (using the search function)

Steps to reproduce the problem

  1. Open the attached form: SelectWIthWhitespaces.zip
  2. Answer each of the three questions
  3. Save the form as a draft
  4. Edit the form

Expected behavior

All answers should be read correctly and displayed in the app.

Other information

The first question with choices from the XML file works well For the question with choices from an external csv file (select_one_from_file) the answer is gone after editing a form (not visible in the hierarchy view and not visible in the question itself For the question with choices from an external csv file (using the search function), the answer is visible initially in the hierarchy but not in the question itself

grzesiek2010 avatar Jul 24 '23 19:07 grzesiek2010