Details
-
Bug
-
Status: Closed
-
Should
-
Resolution: Won't Do
-
None
-
None
-
Low
Description
When trying to use a number of separate <obs/> tags with type radio, when the encounter is rerendered incorrect/extra radio buttons are created to populate the form.
The observations are being recorded correctly in the database from the original form submission, but on the rerender, it correctly populates the smallest number in the recorded obs, but adds a decimal to the others and creates extra widgets for them.
For example, given the following markup and submitting a form with 1, 3, and 4 selected:
<repeat>
<template>
<obs conceptId="7481" labelText="" answers="
" style="radio" />
</template>
<render num="1" /><render num="2" /><render num="3" /><render num="4" /><render num="5" /><render num="6" />
</repeat>
Results in the attached image where the 1 radio is refilled, but new entries are created for 3.0 and 4.0 rather than just using 3 and 4.