Feat: make locations dropdown searchable (#3858)
parent
fb2ed0b5ad
commit
8ff762de3e
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue