← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19045: tracker-capture: bug fix for radio mode input fields in data entry widget

 

------------------------------------------------------------
revno: 19045
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-04-28 16:43:25 +0200
message:
  tracker-capture: bug fix for radio mode input fields in data entry widget
modified:
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/default-form.html


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/default-form.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/default-form.html	2015-04-23 09:00:46 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/default-form.html	2015-04-28 14:43:25 +0000
@@ -37,7 +37,7 @@
                             <label>                                        
                                 <input type="radio"
                                     ng-class='getInputNotifcationClass(prStDe.dataElement.id,true)'
-                                    name={{currentEvent[prStDe.dataElement.id]}}
+                                    name={{prStDe.dataElement.id}}
                                     ng-required={{prStDe.compulsory}} 
                                     ng-disabled="selectedEnrollment.status !== 'ACTIVE' || currentEvent.editingNotAllowed" 
                                     ng-model="currentEvent[prStDe.dataElement.id]"
@@ -48,7 +48,7 @@
                                 <label>
                                     <input type="radio"
                                         ng-class='getInputNotifcationClass(prStDe.dataElement.id,true)'
-                                        name={{currentEvent[prStDe.dataElement.id]}}
+                                        name={{prStDe.dataElement.id}}
                                         ng-required={{prStDe.compulsory}} 
                                         ng-disabled="selectedEnrollment.status !== 'ACTIVE' || currentEvent.editingNotAllowed" 
                                         ng-model="currentEvent[prStDe.dataElement.id]"