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.filter((location) => location.value !== "phone")
|
||||||
: locationOptions
|
: locationOptions
|
||||||
}
|
}
|
||||||
isSearchable={false}
|
isSearchable
|
||||||
className="my-4 block w-full min-w-0 flex-1 rounded-sm border border-gray-300 text-sm"
|
className="my-4 block w-full min-w-0 flex-1 rounded-sm border border-gray-300 text-sm"
|
||||||
onChange={(val) => {
|
onChange={(val) => {
|
||||||
if (val) {
|
if (val) {
|
||||||
|
|
|
@ -451,7 +451,7 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
<Select
|
<Select
|
||||||
options={locationOptions}
|
options={locationOptions}
|
||||||
isSearchable={false}
|
isSearchable
|
||||||
className="block w-full min-w-0 flex-1 rounded-sm text-sm"
|
className="block w-full min-w-0 flex-1 rounded-sm text-sm"
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
if (e?.value) {
|
if (e?.value) {
|
||||||
|
|
Loading…
Reference in New Issue