It's more so that the response options don't reflect what the actual values can be for sliders.
According to the image, the only possible answers for that question are "MI", "MO" and "SE" where in redcap it sores a integer from 1 -100
the user will get a slider that has labels. but when we record it, its stores it as an integer
should choices be present for questions like this since there isn't technically any choices
I tested with demo-protocol and found that even if min, max, marks were used in vue, our reproschema-ui only recognizes choices so I hardcoded a choice option as the following
choices = [
{"name": {"en": " "}, "value": i} for i in range(101)
]
I experimented with minValue and maxValue, not used by slider in our UI
referring to slack discussion:
I tested with demo-protocol and found that even if
min
,max
,marks
were used invue
, our reproschema-ui only recognizeschoices
so I hardcoded a choice option as the followingI experimented with
minValue
andmaxValue
, not used byslider
in our UI