diff --git a/frontend/src/hooks/queryBuilder/useOptions.ts b/frontend/src/hooks/queryBuilder/useOptions.ts index e990f789de..7f50f1881b 100644 --- a/frontend/src/hooks/queryBuilder/useOptions.ts +++ b/frontend/src/hooks/queryBuilder/useOptions.ts @@ -170,7 +170,11 @@ export const useOptions = ( (option, index, self) => index === self.findIndex( - (o) => o.label === option.label && o.value === option.value, // to remove duplicate & empty options from list + (o) => + // to remove duplicate & empty options from list + o.label === option.label && + o.value === option.value && + o.dataType?.toLowerCase() === option.dataType?.toLowerCase(), // handle case sensitivity ) && option.value !== '', ) || [] ).map((option) => {