There doesn't seem to be support for value and label parameters for select_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 and label parameters set for a select_one field the following error is thrown
Accepted parameters are 'randomize, seed'. The following are invalid parameter(s): 'label, value'
Expected behavior
The label and value 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
Software and hardware versions
pyxform v1.10.0, v1.10.1
Problem description
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
value
andlabel
parameters set for aselect_one
field the following error is thrownAccepted parameters are 'randomize, seed'. The following are invalid parameter(s): 'label, value'
Expected behavior
label
andvalue
params should work for select onesOther information
Below is a sample form that has the value and label parameters on a select_one field Water.points.example.xlsx