fix: custom search select query fix (#1610)

This commit is contained in:
Anmol Singh Bhatia 2023-07-25 16:08:11 +05:30 committed by GitHub
parent 2229d8d828
commit 6fe99c7f3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,7 @@ export const CustomSearchSelect = ({
<MagnifyingGlassIcon className="h-3 w-3 text-custom-text-200" />
<Combobox.Input
className="w-full bg-transparent py-1 px-2 text-xs text-custom-text-200 placeholder:text-custom-text-400 focus:outline-none"
value={query}
onChange={(e) => setQuery(e.target.value)}
placeholder="Type to search..."
displayValue={(assigned: any) => assigned?.name}