diff --git a/superset-frontend/src/components/TableSelector/index.tsx b/superset-frontend/src/components/TableSelector/index.tsx index f2a06c56b2..6fcbdb3a57 100644 --- a/superset-frontend/src/components/TableSelector/index.tsx +++ b/superset-frontend/src/components/TableSelector/index.tsx @@ -264,8 +264,8 @@ const TableSelector: FunctionComponent = ({ const handleFilterOption = useMemo( () => (search: string, option: TableOption) => { const searchValue = search.trim().toLowerCase(); - const { text } = option; - return text.toLowerCase().includes(searchValue); + const { value } = option; + return value.toLowerCase().includes(searchValue); }, [], );