Add support for `value` and `label` parameters to `select_one` question types
KipSigei opened this issue · 0 comments
KipSigei commented
Software and hardware versions
pyxform v1.10.0, v1.10.1
Problem description
- There doesn't seem to be support for
value
andlabel
parameters forselect_one
types, as seen here. We would like to know if this behavior is intentional or it could be a bug.
Steps to reproduce the problem
- When uploading a form with the
value
andlabel
parameters set for aselect_one
field the following error is thrown
Accepted parameters are 'randomize, seed'. The following are invalid parameter(s): 'label, value'
Expected behavior
- The
label
andvalue
params should work for select ones
Other information
Below is a sample form that has the value and label parameters on a select_one field
Water.points.example.xlsx