Skip to content

Scheduling infrastructure for absolutely everyone.

Feat: make locations dropdown searchable (#3858)

Jatin Ranka8ff762de3e5f
diff --git a/apps/web/components/dialog/EditLocationDialog.tsx b/apps/web/components/dialog/EditLocationDialog.tsx
index 4028ce5d3df..1a0f6350921 100644
--- a/apps/web/components/dialog/EditLocationDialog.tsx
+++ b/apps/web/components/dialog/EditLocationDialog.tsx
@@ -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) {
diff --git a/apps/web/pages/event-types/[type].tsx b/apps/web/pages/event-types/[type].tsx
index 59131e15aee..6a4fe04d0b1 100644
--- a/apps/web/pages/event-types/[type].tsx
+++ b/apps/web/pages/event-types/[type].tsx
@@ -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) {