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

jli pushed a commit to branch 4.1
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 432ef477fd8af75def3768e8acffc5ec8aa14952
Author: JUST.in DO IT <[email protected]>
AuthorDate: Fri Mar 7 13:28:05 2025 -0800

    fix(sqllab): Allow clear on schema and catalog (#32515)
    
    (cherry picked from commit 4c3aae7583fd1fec034574894c766d9466610927)
---
 superset-frontend/src/components/DatabaseSelector/index.tsx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/superset-frontend/src/components/DatabaseSelector/index.tsx 
b/superset-frontend/src/components/DatabaseSelector/index.tsx
index 321d753bc5..0f1b6aa30c 100644
--- a/superset-frontend/src/components/DatabaseSelector/index.tsx
+++ b/superset-frontend/src/components/DatabaseSelector/index.tsx
@@ -392,6 +392,7 @@ export default function DatabaseSelector({
         options={catalogOptions}
         showSearch
         value={currentCatalog || undefined}
+        allowClear
       />,
       refreshIcon,
     );
@@ -418,6 +419,7 @@ export default function DatabaseSelector({
         options={schemaOptions}
         showSearch
         value={currentSchema}
+        allowClear
       />,
       refreshIcon,
     );

Reply via email to