Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Fix filter select conflicts

Steven Teya4554e882bfc
diff --git a/packages/ui/src/filter/filter-select.tsx b/packages/ui/src/filter/filter-select.tsx
index c7dc133a5f..67ab3344a2 100644
--- a/packages/ui/src/filter/filter-select.tsx
+++ b/packages/ui/src/filter/filter-select.tsx
@@ -367,11 +367,11 @@ function FilterButton({
onPointerDown={(e) => {
e.preventDefault();
}}
- onPointerUp={(e) => {
+ onPointerUp={() => {
onSelect();
}}
onSelect={onSelect}
- value={label}
+ value={label + option?.value}
>
<span className="shrink-0 text-gray-600">
{isReactNode(Icon) ? Icon : <Icon className="h-4 w-4" />}