With Data Entry, selecting “bad” codified option set (I mean, code for that dataset is a text instead of a number), raises an error like the next one:
Testing it with Data Entry (Beta), no error is raised, and you think you are ok with the data when you are not.
In my opinion, it seems a small bug.
Thanks a lot for your time.
Thanks for reporting @kfeina.
This actually is caused by the same underlying issue as the other problem you reported.
Therefore, the fix for that issue, also addresses this one. For example testing this with v100.2.2 of the data entry app on DHIS 2 Demo - Sierra Leone, you should now see an error when the code is of an invalid type:
Yes, it also works.