mirror of https://github.com/jetkvm/kvm.git
Merged in dev hotfix
This commit is contained in:
parent
748155d815
commit
b74f779daa
|
|
@ -2,7 +2,7 @@ import { useMemo } from "react";
|
|||
import { LuArrowUp, LuArrowDown, LuX, LuTrash2 } from "react-icons/lu";
|
||||
|
||||
import { Button } from "@components/Button";
|
||||
import { Combobox } from "@components/Combobox";
|
||||
import { Combobox, ComboboxOption } from "@components/Combobox";
|
||||
import Card from "@components/Card";
|
||||
import FieldLabel from "@components/FieldLabel";
|
||||
import { SelectMenuBasic } from "@components/SelectMenuBasic";
|
||||
|
|
@ -209,8 +209,9 @@ export function MacroStepCard({
|
|||
)}
|
||||
<div className="relative w-full">
|
||||
<Combobox
|
||||
onChange={(value) => {
|
||||
onKeySelect({ value: value as string | null });
|
||||
onChange={(option) => {
|
||||
const selectedOption = option as ComboboxOption | null;
|
||||
onKeySelect({ value: selectedOption?.value ?? null });
|
||||
onKeyQueryChange('');
|
||||
}}
|
||||
displayValue={() => keyQuery}
|
||||
|
|
|
|||
Loading…
Reference in New Issue