From c5f991b52ac32260ff1512c988bf3995d3b69ec7 Mon Sep 17 00:00:00 2001 From: Ludeck Date: Tue, 25 Feb 2025 23:40:45 +0000 Subject: [PATCH] Use SubmissionsService's getAllPickListAttributes() rather than getAllListAttributes() - there are now 2 APIs (though they return identical data) to allow permissions to be applied differently to each --- src/fng-ui-select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fng-ui-select.js b/src/fng-ui-select.js index 030603f..5c63a67 100644 --- a/src/fng-ui-select.js +++ b/src/fng-ui-select.js @@ -78,7 +78,7 @@ } else if (valueCache[id]) { return $q.resolve({ data: { list: valueCache[id] }}); // already cached } else { - return SubmissionsService.getListAttributes(formSchema.ref, id); // need to look it up + return SubmissionsService.getAllPickListAttributes(formSchema.ref, id); // need to look it up } }); // TODO: no error handling here