Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(customer-analytics): use searchable selects in custom property source modal (#67784)

Arthur Moreira de Deus738a1e60b5ba
diff --git a/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/CustomPropertySourceModal.tsx b/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/CustomPropertySourceModal.tsx
index 4d2cfd9eb902..2cff11e58d89 100644
--- a/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/CustomPropertySourceModal.tsx
+++ b/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/account/CustomPropertySourceModal.tsx
@@ -1,7 +1,7 @@
import { useActions, useValues } from 'kea'
import { Form } from 'kea-forms'
-import { LemonBanner, LemonButton, LemonModal, LemonSelect, LemonSwitch } from '@posthog/lemon-ui'
+import { LemonBanner, LemonButton, LemonModal, LemonSearchableSelect, LemonSwitch } from '@posthog/lemon-ui'
import { LemonField } from 'lib/lemon-ui/LemonField'
@@ -74,7 +74,7 @@ export function CustomPropertySourceModal(): JSX.Element {
>
<LemonField name="savedQuery" label="View">
{({ value, onChange }) => (
- <LemonSelect
+ <LemonSearchableSelect
value={value}
onChange={(newValue) => {
onChange(newValue)
@@ -96,7 +96,7 @@ export function CustomPropertySourceModal(): JSX.Element {
help="The column whose value is written to this property."
>
{({ value, onChange }) => (
- <LemonSelect
+ <LemonSearchableSelect
value={value}
onChange={onChange}
options={selectedSourceColumns.map((column) => ({ value: column, label: column }))}
@@ -115,7 +115,7 @@ export function CustomPropertySourceModal(): JSX.Element {
help="The column matched against each account's external ID."
>
{({ value, onChange }) => (
- <LemonSelect
+ <LemonSearchableSelect
value={value}
onChange={onChange}
options={selectedSourceColumns.map((column) => ({ value: column, label: column }))}