XLSForm/pyxform

Add support for `value` and `label` parameters to `select_one` question types

KipSigei opened this issue · 0 comments

Software and hardware versions

pyxform v1.10.0, v1.10.1

Problem description

  • 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