diff --git a/src/pages/dataElements/form/useHasFieldValue.ts b/src/pages/dataElements/form/useHasFieldValue.ts index 1575758d..e439d67c 100644 --- a/src/pages/dataElements/form/useHasFieldValue.ts +++ b/src/pages/dataElements/form/useHasFieldValue.ts @@ -23,6 +23,7 @@ interface QueryResponse { export function useHasFieldValue(field: string) { const queryResult = useDataQuery(HAS_FIELD_VALUE_QUERY, { lazy: true, + variables: { field, value: '' }, }) return useMemo(