collect
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
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
- Open the attached form: SelectWIthWhitespaces.zip
- Answer each of the three questions
- Save the form as a draft
- 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