testing
This commit is contained in:
parent
65de87d9cb
commit
b6a0579de7
@ -73,13 +73,13 @@ function CommandSearch() {
|
|||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent className="z-modal+ w-auto p-0" align="start">
|
<PopoverContent className="z-modal+ w-auto p-0" align="start">
|
||||||
<Command className="rounded-lg border shadow-md">
|
<Command className="rounded-lg border shadow-md">
|
||||||
<CommandInput
|
<CommandInput disabled={!ready} placeholder="Search places..." />
|
||||||
disabled={!ready}
|
<Input
|
||||||
onChangeCapture={(e) =>
|
className="border-0 px-0 shadow-none focus-visible:ring-0"
|
||||||
setValue((e.target as unknown as { value: string }).value)
|
|
||||||
}
|
|
||||||
value={value}
|
value={value}
|
||||||
|
onChange={(e) => setValue(e.target.value)}
|
||||||
placeholder="Search places..."
|
placeholder="Search places..."
|
||||||
|
disabled={!ready}
|
||||||
/>
|
/>
|
||||||
<CommandList>
|
<CommandList>
|
||||||
<CommandEmpty>No results found.</CommandEmpty>
|
<CommandEmpty>No results found.</CommandEmpty>
|
||||||
@ -98,7 +98,7 @@ function CommandSearch() {
|
|||||||
),
|
),
|
||||||
)}
|
)}
|
||||||
</CommandGroup>
|
</CommandGroup>
|
||||||
{/* <CommandSeparator />
|
<CommandSeparator />
|
||||||
<CommandGroup heading="Vitrual">
|
<CommandGroup heading="Vitrual">
|
||||||
<CommandItem>
|
<CommandItem>
|
||||||
<HiOutlineBuildingStorefront className="mr-2 h-4 w-4" />
|
<HiOutlineBuildingStorefront className="mr-2 h-4 w-4" />
|
||||||
@ -112,7 +112,7 @@ function CommandSearch() {
|
|||||||
<HiOutlineBuildingStorefront className="mr-2 h-4 w-4" />
|
<HiOutlineBuildingStorefront className="mr-2 h-4 w-4" />
|
||||||
<span>Settings</span>
|
<span>Settings</span>
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
</CommandGroup> */}
|
</CommandGroup>
|
||||||
</CommandList>
|
</CommandList>
|
||||||
</Command>
|
</Command>
|
||||||
</PopoverContent>
|
</PopoverContent>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user