Fix prettier formatting on the new combobox control
Release / release (push) Successful in 1m5s

This commit is contained in:
2026-08-16 17:23:30 +02:00
parent c7bc4421c5
commit 86aa0b7539
2 changed files with 4 additions and 4 deletions
+3 -1
View File
@@ -41,7 +41,9 @@ export function Combobox({
"h-auto min-h-8 w-full justify-between font-normal", "h-auto min-h-8 w-full justify-between font-normal",
)} )}
> >
<span className={cn("flex-1 text-left", !value && "text-muted-foreground")}> <span
className={cn("flex-1 text-left", !value && "text-muted-foreground")}
>
{value || placeholder} {value || placeholder}
</span> </span>
<ChevronsUpDown className="text-muted-foreground size-4 shrink-0" /> <ChevronsUpDown className="text-muted-foreground size-4 shrink-0" />
+1 -3
View File
@@ -223,9 +223,7 @@ export function FieldRenderer({ variable }: { variable: ClientVariable }) {
</FormLabel> </FormLabel>
<FormControl> <FormControl>
<Combobox <Combobox
choices={ choices={variable.type === "enum" ? variable.choices : []}
variable.type === "enum" ? variable.choices : []
}
value={field.value ?? ""} value={field.value ?? ""}
onChange={(value) => field.onChange(value)} onChange={(value) => field.onChange(value)}
/> />