Feat: make locations dropdown searchable (#3858)

This commit is contained in:
Jatin Ranka
2022-08-15 13:18:34 -06:00
committed by GitHub
parent fb2ed0b5ad
commit 8ff762de3e
2 changed files with 2 additions and 2 deletions
@@ -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) {
+1 -1
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) {