HOT FIX: Sorting damages question string questions display
🐜 Bug report
🔧
about: Short explanation In order for a string question to be presented as a text area or long text, its options should be undefined and one of its tags should be rcc-long-text
. However, what happens right now is that the options are returned as an empty array, instead of undefined for string questions, which causes an invalid presentation of the text component.
Version Information
Software | Version(s) |
---|---|
Windows OS? | |
Linux OS? | |
MAC OS? |
I'm seeing this behaviour on
Remove this hint: these checkboxes can be checked like this: [x]
-
iOS device -
Android device -
Chrome -
Firefox -
Safari -
Edge -
Other
If you know, add the version of the browser
What is the expected behaviour?
- Text questions should be rendered as text area and not as an input field.
- Sorting should still work for boolean and integer questions with 4 items.
- HCP and PAT versions should be tested: Monitoring Setup and Static QR Import
What is the actual behaviour?
Text questions are shown as input field for numerical value.
Steps to Reproduce
Example:
-
Open the app on HCP
-
Open Monitoring Setup
-
Go to preview.
-
See Notes
-
Use one of the static qr codes for PAT
-
Import questions
-
See notes