Skip to content

Option display name is sent to the server instead of code #12

@sultanahamer

Description

@sultanahamer

We are facing issues with data elements having option sets.
Lets take example of Gender being data element and male, female being the options in the option set as follows
--male--
label: male
code: m

--female--
label: female
code: f

When data is entered in dhis instance and we want to see that data in android, we see the code of option(m) instead of the label(male).

When we are entering data,
we see the drop down showing the labels male and female, we select one and when we try to sync data,
all the other data elements sync up except for the data element with option set. And if we manually enter the code in the android app instead of label, it does sync.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions