Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix(dashboard): make new events combobox case sensitive

Carl-Gerhard Lindesvärd3560276095c4
diff --git a/apps/dashboard/src/components/ui/combobox-events.tsx b/apps/dashboard/src/components/ui/combobox-events.tsx
index 2548f79bb..2c34f0174 100644
--- a/apps/dashboard/src/components/ui/combobox-events.tsx
+++ b/apps/dashboard/src/components/ui/combobox-events.tsx
@@ -199,7 +199,7 @@ export function ComboboxEvents<
key={item.name}
value={item.name}
onSelect={(currentValue) => {
- handleSelection(currentValue);
+ handleSelection(item.name);
}}
>
{selectedValues.includes(item.name as T) ? (