This is an automated email from the ASF dual-hosted git repository.

msyavuz pushed a commit to branch msyavuz/fix/theming-visual-bugs-4
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 68778eda0d26a622f85c9ccaf29352a6118885d5
Author: Mehmet Salih Yavuz <[email protected]>
AuthorDate: Fri Aug 1 19:36:19 2025 +0300

    fix(ChartCreation): select search
---
 superset-frontend/src/pages/ChartCreation/index.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/pages/ChartCreation/index.tsx 
b/superset-frontend/src/pages/ChartCreation/index.tsx
index 10740dbe1f..07a51309d0 100644
--- a/superset-frontend/src/pages/ChartCreation/index.tsx
+++ b/superset-frontend/src/pages/ChartCreation/index.tsx
@@ -272,6 +272,7 @@ export class ChartCreation extends PureComponent<
         id: item.id,
         value: `${item.id}__${item.datasource_type}`,
         label: DatasetSelectLabel(item),
+        customLabel: item.table_name,
       }));
       return {
         data: list,
@@ -330,7 +331,7 @@ export class ChartCreation extends PureComponent<
                   name="select-datasource"
                   onChange={this.changeDatasource}
                   options={this.loadDatasources}
-                  optionFilterProps={['id', 'label']}
+                  optionFilterProps={['id', 'customLabel']}
                   placeholder={t('Choose a dataset')}
                   showSearch
                   value={this.state.datasource}

Reply via email to