From 7fa734176adaf47679dc49bb904188d16a71ad05 Mon Sep 17 00:00:00 2001 From: Tony Valle <79843014+superskip@users.noreply.github.com> Date: Fri, 10 May 2024 13:37:52 +0200 Subject: [PATCH] fix: [DHIS2-17363] deselection of true only fields (#1931) --- d2-tracker/dhis2.angular.services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d2-tracker/dhis2.angular.services.js b/d2-tracker/dhis2.angular.services.js index 0a3a209f8..17b62da98 100644 --- a/d2-tracker/dhis2.angular.services.js +++ b/d2-tracker/dhis2.angular.services.js @@ -555,7 +555,7 @@ var d2Services = angular.module('d2Services', ['ngResource']) val = val === 'true' ? true : ''; } else{ - val = val === true ? 'true' : ''; + val = val === true ? 'true' : 'false'; } } if( val && obj.valueType === 'ORGANISATION_UNIT' ){