Feat: make locations dropdown searchable (#3858)

pull/3744/head^2
Jatin Ranka 2022-08-16 00:48:34 +05:30 committed by GitHub
parent fb2ed0b5ad
commit 8ff762de3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@ export const EditLocationDialog = (props: ISetLocationDialog) => {
? locationOptions.filter((location) => location.value !== "phone")
: locationOptions
}
isSearchable={false}
isSearchable
className="my-4 block w-full min-w-0 flex-1 rounded-sm border border-gray-300 text-sm"
onChange={(val) => {
if (val) {

View File

@ -451,7 +451,7 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {
<div className="flex">
<Select
options={locationOptions}
isSearchable={false}
isSearchable
className="block w-full min-w-0 flex-1 rounded-sm text-sm"
onChange={(e) => {
if (e?.value) {