diff --git a/web/src/app/dashboard/backfill/page.tsx b/web/src/app/dashboard/backfill/page.tsx index f728902..74585b5 100644 --- a/web/src/app/dashboard/backfill/page.tsx +++ b/web/src/app/dashboard/backfill/page.tsx @@ -174,7 +174,14 @@ function CreateDialog({ - + { + const target = e.target as HTMLElement; + if (target.closest("[data-slot='combobox-item'], [data-slot='combobox-content']")) { + e.preventDefault(); + } + }} + > Create Backfill Job @@ -186,19 +193,23 @@ function CreateDialog({ {error &&

{error}

}
- + + No matching lexicons. - No matching lexicons. - {recordLexicons.map((id) => ( - - {id} + {(item: string) => ( + + {item} - ))} + )} diff --git a/web/src/components/ui/combobox.tsx b/web/src/components/ui/combobox.tsx index 2f9df6d..03f3e52 100644 --- a/web/src/components/ui/combobox.tsx +++ b/web/src/components/ui/combobox.tsx @@ -102,28 +102,28 @@ function ComboboxContent({ ComboboxPrimitive.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor" >) { - return ( - - - - - + const content = ( + + + ) + + return {content} } function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props) {